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
@ -325,6 +325,7 @@ skip:
|
|||||||
gst_base_rtp_depayload_push_ts (depayload, timestamp, outbuf);
|
gst_base_rtp_depayload_push_ts (depayload, timestamp, outbuf);
|
||||||
rtph263depay->offset = 0;
|
rtph263depay->offset = 0;
|
||||||
rtph263depay->leftover = 0;
|
rtph263depay->leftover = 0;
|
||||||
|
rtph263depay->start = FALSE;
|
||||||
} else {
|
} else {
|
||||||
rtph263depay->start = TRUE;
|
rtph263depay->start = TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user