GNOME Bugzilla – Bug 629522
[rtpjpegpay] add support for Define Restart Interval (DRI)
Last modified: 2010-09-13 15:45:17 UTC
Created attachment 170150 [details] [review] patch the gstrtpjpegpay.c in git-patch format The current git codebase appears to not have support for Define Restart Interval (DRI) detection in the rtp jpeg payloader. We have encountered some IP-based cameras that deliver MJPEG with the DRI marker encoded in the jpeg stream. We have implemented the handling of the DRI marker in accordance specified in section 3.1.7 of RFC2435. This is not a full implementation of the DRI marker feature for we indicate to the receiver that THEY must reassemble the entire frame before decoding it (restart count = 0x3FFFF). We have also included some defensive code to protect against those streams that DO input a DRI marker but have no actual restart interval.
commit 604c6555a49b72cc1165a7af8cfd7328044c3ba8 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Mon Sep 13 17:31:35 2010 +0200 rtpjpegpay: cleanups for DRI markers Protect against invalid DRI markers. do some cleanups commit 0f3151c73bbe6708444c0fca4be93c217996fada Author: American Dynamics <GStreamer-Bugs@tycosp.com> Date: Fri Sep 10 11:35:53 2010 -0400 gstrtpjpegpay: Added Define Restart Interval (DRI) Marker Added ability to detect and respond to a JPEG-defined DRI marker