summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2010-04-16 15:08:47 (GMT)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2010-04-30 11:49:57 (GMT)
commitfe9e6d82ee3ccbce130b14e39e7b60bc4369015f (patch)
tree7075a8c91214af4a1b0a3524e6a455d47e244f60
parent84ac277add7ba47d0960799b2b08a55dc094d37b (diff)
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.
-rw-r--r--gst/rtp/gstrtph263depay.c1
1 files changed, 1 insertions, 0 deletions
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;
}