multipartmux: mark data buffer as delta-unit
So that multifdsink always start sending header buffer first Fixes #594520
This commit is contained in:
parent
6b46aeb6a3
commit
fe2d8bdc64
@ -530,6 +530,7 @@ gst_multipart_mux_collected (GstCollectPads * pads, GstMultipartMux * mux)
|
|||||||
GST_BUFFER_OFFSET (databuf) = mux->offset;
|
GST_BUFFER_OFFSET (databuf) = mux->offset;
|
||||||
mux->offset += GST_BUFFER_SIZE (databuf);
|
mux->offset += GST_BUFFER_SIZE (databuf);
|
||||||
GST_BUFFER_OFFSET_END (databuf) = mux->offset;
|
GST_BUFFER_OFFSET_END (databuf) = mux->offset;
|
||||||
|
GST_BUFFER_FLAG_SET (databuf, GST_BUFFER_FLAG_DELTA_UNIT);
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (mux, "pushing %u bytes data buffer",
|
GST_DEBUG_OBJECT (mux, "pushing %u bytes data buffer",
|
||||||
GST_BUFFER_SIZE (databuf));
|
GST_BUFFER_SIZE (databuf));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user