Commit a0fa0ff8 authored by Thijs Vermeir's avatar Thijs Vermeir
Browse files

basertpdepay: ensure metadata is writable

parent ab23c264
...@@ -339,6 +339,7 @@ gst_base_rtp_depayload_chain (GstPad * pad, GstBuffer * in) ...@@ -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, /* 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. */ * set the discont flag so that the subclass can throw away old data. */
priv->discont = TRUE; priv->discont = TRUE;
in = gst_buffer_make_metadata_writable (in);
GST_BUFFER_FLAG_SET (in, GST_BUFFER_FLAG_DISCONT); GST_BUFFER_FLAG_SET (in, GST_BUFFER_FLAG_DISCONT);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment