mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
qtmux: Error out immediately if a timecode is to be written but downstream return not-OK
This commit is contained in:
parent
1e4cdc6d6f
commit
eb307baff4
1 changed files with 4 additions and 2 deletions
|
@ -3215,9 +3215,11 @@ gst_qt_mux_add_buffer (GstQTMux * qtmux, GstQTPad * pad, GstBuffer * buf)
|
|||
buf = pad->prepare_buf_func (pad, buf, qtmux);
|
||||
}
|
||||
|
||||
last_buf = pad->last_buf;
|
||||
|
||||
ret = gst_qt_mux_check_and_update_timecode (qtmux, pad, buf, ret);
|
||||
if (ret != GST_FLOW_OK)
|
||||
return ret;
|
||||
|
||||
last_buf = pad->last_buf;
|
||||
|
||||
if (last_buf == NULL) {
|
||||
#ifndef GST_DISABLE_GST_DEBUG
|
||||
|
|
Loading…
Reference in a new issue