From: Sebastian Dröge Date: Mon, 15 Jul 2013 09:36:18 +0000 (+0200) Subject: pad: A newly activated pad should be marked as needing reconfiguration X-Git-Tag: 1.1.3~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c279bdb663de532be58b31970b26ff515ff4f098;p=platform%2Fupstream%2Fgstreamer.git pad: A newly activated pad should be marked as needing reconfiguration --- diff --git a/gst/gstpad.c b/gst/gstpad.c index 5c7be59..3c3f484 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -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)) {