summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/isomp4/gstqtmux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c
index d3c1a0b9d..98a4de1cc 100644
--- a/gst/isomp4/gstqtmux.c
+++ b/gst/isomp4/gstqtmux.c
@@ -2343,7 +2343,8 @@ gst_qt_mux_start_file (GstQTMux * qtmux)
qtmux->fragment_duration == 0)
goto invalid_isml;
- if (qtmux->fragment_duration > 0) {
+ if (qtmux->fragment_duration > 0
+ || qtmux->fragment_method != FRAGMENT_METHOD_NONE) {
if (qtmux->streamable)
qtmux->mux_mode = GST_QT_MUX_MODE_FRAGMENTED_STREAMABLE;
else