mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
gdppay: make newsegment buffer metadata writable
This commit is contained in:
parent
d7fe261472
commit
70c399426e
1 changed files with 2 additions and 0 deletions
|
@ -475,6 +475,8 @@ 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);
|
||||
gst_buffer_set_caps (this->caps_buf, caps);
|
||||
this->new_segment_buf =
|
||||
gst_buffer_make_metadata_writable (this->new_segment_buf);
|
||||
gst_buffer_set_caps (this->new_segment_buf, caps);
|
||||
|
||||
/* if these are our first ever buffers, send out new_segment first */
|
||||
|
|
Loading…
Reference in a new issue