mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
basertpdepay: ensure metadata is writable
This commit is contained in:
parent
ab23c2647f
commit
a0fa0ff8bf
1 changed files with 1 additions and 0 deletions
|
@ -339,6 +339,7 @@ gst_base_rtp_depayload_chain (GstPad * pad, GstBuffer * in)
|
|||
/* we detected a seqnum discont but the buffer was not flagged with a discont,
|
||||
* set the discont flag so that the subclass can throw away old data. */
|
||||
priv->discont = TRUE;
|
||||
in = gst_buffer_make_metadata_writable (in);
|
||||
GST_BUFFER_FLAG_SET (in, GST_BUFFER_FLAG_DISCONT);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue