mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
qtmux: when streaming don't try to seek when stopping
It might cause errors in sinks that are not seekable and have reported this (like e.g. fdsink) https://bugzilla.gnome.org/show_bug.cgi?id=696228
This commit is contained in:
parent
bdd3c31902
commit
ce52b319ff
1 changed files with 1 additions and 1 deletions
|
@ -1963,7 +1963,7 @@ gst_qt_mux_stop_file (GstQTMux * qtmux)
|
||||||
ret = gst_qt_mux_send_buffered_data (qtmux, NULL);
|
ret = gst_qt_mux_send_buffered_data (qtmux, NULL);
|
||||||
if (ret != GST_FLOW_OK)
|
if (ret != GST_FLOW_OK)
|
||||||
return ret;
|
return ret;
|
||||||
} else {
|
} else if (!qtmux->streamable) {
|
||||||
/* mdat needs update iff not using faststart */
|
/* mdat needs update iff not using faststart */
|
||||||
GST_DEBUG_OBJECT (qtmux, "updating mdat size");
|
GST_DEBUG_OBJECT (qtmux, "updating mdat size");
|
||||||
ret = gst_qt_mux_update_mdat_size (qtmux, qtmux->mdat_pos,
|
ret = gst_qt_mux_update_mdat_size (qtmux, qtmux->mdat_pos,
|
||||||
|
|
Loading…
Reference in a new issue