Commit fe9e6d82 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

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.
parent 84ac277a
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment