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:
Tim-Philipp Müller 2013-07-19 17:14:06 +01:00 committed by Tim-Philipp Müller
parent bdd3c31902
commit ce52b319ff

View file

@ -1963,7 +1963,7 @@ gst_qt_mux_stop_file (GstQTMux * qtmux)
ret = gst_qt_mux_send_buffered_data (qtmux, NULL);
if (ret != GST_FLOW_OK)
return ret;
} else {
} else if (!qtmux->streamable) {
/* mdat needs update iff not using faststart */
GST_DEBUG_OBJECT (qtmux, "updating mdat size");
ret = gst_qt_mux_update_mdat_size (qtmux, qtmux->mdat_pos,