mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 21:01:14 +00:00
qtmux: ensure writable buffer metadata before setting caps
This commit is contained in:
parent
4db0ccae1c
commit
a0851ebcbf
1 changed files with 1 additions and 0 deletions
|
@ -819,6 +819,7 @@ gst_qt_mux_send_buffer (GstQTMux * qtmux, GstBuffer * buf, guint64 * offset,
|
|||
} else {
|
||||
GST_LOG_OBJECT (qtmux, "downstream");
|
||||
|
||||
buf = gst_buffer_make_metadata_writable (buf);
|
||||
gst_buffer_set_caps (buf, GST_PAD_CAPS (qtmux->srcpad));
|
||||
res = gst_pad_push (qtmux->srcpad, buf);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue