From ce52b319ff1505896937115bd0b3426ea6bc23dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 19 Jul 2013 17:14:06 +0100 Subject: [PATCH] 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 --- gst/isomp4/gstqtmux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c index fa9ac9edb4..7207a00b09 100644 --- a/gst/isomp4/gstqtmux.c +++ b/gst/isomp4/gstqtmux.c @@ -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, -- 2.34.1