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
This commit is contained in:
Thiago Santos 2015-10-13 12:42:56 -03:00
parent fc203a4bd7
commit 539ebd0f42

View file

@ -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);