diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2010-11-19 19:17:45 +0100 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2010-11-19 19:21:37 +0100 |
commit | 083c26aca86904f5540da1c56c7c2eca68cbcd77 (patch) | |
tree | b7c747cead6b503f7c9724a94a795d022b52b4c6 | |
parent | b5f6f94d54e299296dbc81cfc33df09ee7699af7 (diff) |
qtmux: enable default fragmented file for ismlmux
-rw-r--r-- | gst/qtmux/gstqtmux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/qtmux/gstqtmux.c b/gst/qtmux/gstqtmux.c index c7f8af0a6..b54ed0531 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", |