mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 02:30:35 +00:00
rtpopusdepay: set resync flag
- Set re-sync flag on output buffer when rtp had the marker flag set. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5529>
This commit is contained in:
parent
43ce583460
commit
c2a357c867
1 changed files with 3 additions and 0 deletions
|
@ -257,6 +257,9 @@ gst_rtp_opus_depay_process (GstRTPBaseDepayload * depayload,
|
|||
|
||||
outbuf = gst_rtp_buffer_get_payload_buffer (rtp_buffer);
|
||||
|
||||
if (gst_rtp_buffer_get_marker (rtp_buffer))
|
||||
GST_BUFFER_FLAG_SET (outbuf, GST_BUFFER_FLAG_RESYNC);
|
||||
|
||||
gst_rtp_drop_non_audio_meta (depayload, outbuf);
|
||||
|
||||
return outbuf;
|
||||
|
|
Loading…
Reference in a new issue