From 083c26aca86904f5540da1c56c7c2eca68cbcd77 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Fri, 19 Nov 2010 19:17:45 +0100 Subject: [PATCH] qtmux: enable default fragmented file for ismlmux --- gst/qtmux/gstqtmux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/qtmux/gstqtmux.c b/gst/qtmux/gstqtmux.c index c7f8af0a67..b54ed0531d 100644 --- a/gst/qtmux/gstqtmux.c +++ b/gst/qtmux/gstqtmux.c @@ -251,7 +251,8 @@ gst_qt_mux_class_init (GstQTMuxClass * klass) g_object_class_install_property (gobject_class, PROP_FRAGMENT_DURATION, g_param_spec_uint ("fragment-duration", "Fragment duration", "Fragment durations in ms (produce a fragmented file if > 0)", - 0, G_MAXUINT32, DEFAULT_FRAGMENT_DURATION, + 0, G_MAXUINT32, klass->format == GST_QT_MUX_FORMAT_ISML ? + 2000 : DEFAULT_FRAGMENT_DURATION, G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_STREAMABLE, g_param_spec_boolean ("streamable", "Streamable",