pad: A newly activated pad should be marked as needing reconfiguration

This commit is contained in:
Sebastian Dröge 2013-07-15 11:36:18 +02:00
parent 942d905e19
commit c279bdb663

View file

@ -1072,6 +1072,9 @@ gst_pad_activate_mode (GstPad * pad, GstPadMode mode, gboolean active)
break;
}
/* Mark pad as needing reconfiguration */
if (active)
GST_OBJECT_FLAG_SET (pad, GST_PAD_FLAG_NEED_RECONFIGURE);
pre_activate (pad, new);
if (GST_PAD_ACTIVATEMODEFUNC (pad)) {