j2kdepay: make the depayloader more resilient
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 6 Dec 2010 11:16:12 +0000 (12:16 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 9 Dec 2010 17:18:24 +0000 (18:18 +0100)
commit6729a3b79ccbc108ea27641e460caec090703f4a
treee420cbcf3197d4335c418d6710ca564096f1b123
parentdf2982ce7da4f3b425fe3e7901b7a9960a39b1eb
j2kdepay: make the depayloader more resilient

Use 3 adapters, one to accumulate paketization units, another on to accumulate
tiles and a last one to accumulate the final frame.
Don't just blindly flush the adapter on DISCONT but only discard the current
packetization unit.
When we dropped jpeg2000 packets between SOP markers, adjust the SOT header with
the new lenght.
gst/rtp/gstrtpj2kdepay.c
gst/rtp/gstrtpj2kdepay.h