summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <thiagoss@osg.samsung.com>2016-04-14 17:29:17 -0300
committerThiago Santos <thiagoss@osg.samsung.com>2016-04-14 17:29:17 -0300
commit0e8df852c9acff22806f12018882e25a4c2269b4 (patch)
treedbe6fc06f4ad9960688694cf5a5dc065cdd988c6
parent67d2a84865b446b56fd39cbf0589fedcc451ab6c (diff)
qtmux: consider fragmented when fragment-method was setdashsink
To generate a proper moov/moof output instead of starting with the mdat as is the default
-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