Commit 539ebd0f authored by Thiago Santos's avatar Thiago Santos

rtpj2kpay: update fragment offset

It was always being set to 0, making the resulting stream broken
for the receiver

https://bugzilla.gnome.org/show_bug.cgi?id=756422
parent fc203a4b
...@@ -497,6 +497,7 @@ gst_rtp_j2k_pay_handle_buffer (GstRTPBasePayload * basepayload, ...@@ -497,6 +497,7 @@ gst_rtp_j2k_pay_handle_buffer (GstRTPBasePayload * basepayload,
state.header.tile = 0; state.header.tile = 0;
offset += data_size; offset += data_size;
state.header.offset = offset;
} }
offset = pos; offset = pos;
} while (offset < map.size); } while (offset < map.size);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment