rdtdepay: make buffer metadata writable before setting caps on it
Fixes issue when the header buffer is being pushed, which was taken from the caps and is therefore not writable.
This commit is contained in:
parent
895b88760f
commit
15cd0c5e36
@ -292,6 +292,7 @@ gst_rdt_depay_push (GstRDTDepay * rdtdepay, GstBuffer * buffer)
|
||||
rdtdepay->need_newsegment = FALSE;
|
||||
}
|
||||
|
||||
buffer = gst_buffer_make_metadata_writable (buffer);
|
||||
gst_buffer_set_caps (buffer, GST_PAD_CAPS (rdtdepay->srcpad));
|
||||
|
||||
if (rdtdepay->discont) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user