mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
gdppay: ensure buffer's metadata is writable before setting caps
This commit is contained in:
parent
70c399426e
commit
ce639b529b
1 changed files with 1 additions and 0 deletions
|
@ -474,6 +474,7 @@ gst_gdp_pay_reset_streamheader (GstGDPPay * this)
|
|||
|
||||
GST_DEBUG_OBJECT (this, "Setting caps on src pad %" GST_PTR_FORMAT, caps);
|
||||
gst_pad_set_caps (this->srcpad, caps);
|
||||
this->caps_buf = gst_buffer_make_metadata_writable (this->caps_buf);
|
||||
gst_buffer_set_caps (this->caps_buf, caps);
|
||||
this->new_segment_buf =
|
||||
gst_buffer_make_metadata_writable (this->new_segment_buf);
|
||||
|
|
Loading…
Reference in a new issue