mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
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:
parent
84ac277add
commit
fe9e6d82ee
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue