From c279bdb663de532be58b31970b26ff515ff4f098 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 15 Jul 2013 11:36:18 +0200 Subject: [PATCH] pad: A newly activated pad should be marked as needing reconfiguration --- gst/gstpad.c | 3 +++ 1 file changed, 3 insertions(+) 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)) { -- 2.7.4