mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
theorapay: add delta-unit to output frames
This commit is contained in:
parent
5686512b77
commit
ac2bcfa833
1 changed files with 4 additions and 1 deletions
|
@ -549,8 +549,11 @@ gst_rtp_theora_depay_process (GstRTPBaseDepayload * depayload, GstBuffer * buf)
|
|||
gst_buffer_fill (outbuf, 0, payload, length);
|
||||
}
|
||||
|
||||
if (payload_len > 0 && (payload[0] & 0xC0) == 0x0)
|
||||
if (payload_len > 0 && (payload[0] & 0xC0) == 0x0) {
|
||||
rtptheoradepay->needs_keyframe = FALSE;
|
||||
} else {
|
||||
GST_BUFFER_FLAG_SET (outbuf, GST_BUFFER_FLAG_DELTA_UNIT);
|
||||
}
|
||||
|
||||
payload += length;
|
||||
payload_len -= length;
|
||||
|
|
Loading…
Reference in a new issue