From dbc1f9f2d66fd282e61baca0977361510f457a90 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Wed, 13 Jan 2010 19:30:45 +0100 Subject: [PATCH] qtmux: provide request pads under wider conditions Fixes #606859. --- gst/qtmux/gstqtmux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/qtmux/gstqtmux.c b/gst/qtmux/gstqtmux.c index 2756e0da88..a6ec2c361b 100644 --- a/gst/qtmux/gstqtmux.c +++ b/gst/qtmux/gstqtmux.c @@ -2305,7 +2305,7 @@ gst_qt_mux_request_new_pad (GstElement * element, if (templ->direction != GST_PAD_SINK) goto wrong_direction; - if (qtmux->state != GST_QT_MUX_STATE_NONE) + if (qtmux->state > GST_QT_MUX_STATE_STARTED) goto too_late; if (templ == gst_element_class_get_pad_template (klass, "audio_%d")) {