From fe9e6d82ee3ccbce130b14e39e7b60bc4369015f Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Fri, 16 Apr 2010 17:08:47 +0200 Subject: 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. --- gst/rtp/gstrtph263depay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/rtp/gstrtph263depay.c b/gst/rtp/gstrtph263depay.c index 2f4956770..adb7ded53 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; } -- cgit v1.2.3