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
parent fc203a4b
......@@ -497,6 +497,7 @@ gst_rtp_j2k_pay_handle_buffer (GstRTPBasePayload * basepayload,
state.header.tile = 0;
offset += data_size;
state.header.offset = offset;
offset = pos;
} while (offset < map.size);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment