mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
qtmux: Error out directly if sending filler data results in a flow error
CID 1405994
This commit is contained in:
parent
3fcfe774e6
commit
419f53259f
1 changed files with 2 additions and 0 deletions
|
@ -4273,6 +4273,8 @@ gst_qt_mux_add_buffer (GstQTMux * qtmux, GstQTPad * pad, GstBuffer * buf)
|
|||
gst_buffer_memset (fill_buf, 0, 0, fill_size);
|
||||
|
||||
ret = gst_qt_mux_send_buffer (qtmux, fill_buf, &qtmux->mdat_size, TRUE);
|
||||
if (ret != GST_FLOW_OK)
|
||||
goto bail;
|
||||
qtmux->current_chunk_offset = chunk_offset = sample_entry->chunk_offset;
|
||||
qtmux->current_chunk_size = buffer_size;
|
||||
qtmux->current_chunk_duration = duration;
|
||||
|
|
Loading…
Reference in a new issue