From: Mark Nauwelaerts Date: Fri, 16 Apr 2010 15:08:47 +0000 (+0200) Subject: rtph263depay: also use Picture Start Code to detect packet loss X-Git-Tag: RELEASE-0.10.23~162 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe9e6d82ee3ccbce130b14e39e7b60bc4369015f;p=platform%2Fupstream%2Fgst-plugins-good.git rtph263depay: also use Picture Start Code to detect packet loss This ensures a whole frame is dropped if a (start) packet is lost, rather than relying only on the DISCONT flag. --- diff --git a/gst/rtp/gstrtph263depay.c b/gst/rtp/gstrtph263depay.c index 2f49567..adb7ded 100644 --- a/gst/rtp/gstrtph263depay.c +++ b/gst/rtp/gstrtph263depay.c @@ -325,6 +325,7 @@ skip: gst_base_rtp_depayload_push_ts (depayload, timestamp, outbuf); rtph263depay->offset = 0; rtph263depay->leftover = 0; + rtph263depay->start = FALSE; } else { rtph263depay->start = TRUE; }