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.
This commit is contained in:
Mark Nauwelaerts 2010-04-16 17:08:47 +02:00
parent 84ac277add
commit fe9e6d82ee

View file

@ -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;
}