qtmux: provide request pads under wider conditions

Fixes #606859.
This commit is contained in:
Mark Nauwelaerts 2010-01-13 19:30:45 +01:00 committed by Tim-Philipp Müller
parent 45458c44a4
commit 6beda8aae0

View file

@ -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")) {