pad: Send renegotiate event on link
authorOlivier Crête <olivier.crete@collabora.co.uk>
Wed, 17 Mar 2010 21:24:55 +0000 (21:24 +0000)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 5 May 2011 13:04:33 +0000 (15:04 +0200)
gst/gstpad.c

index 2199091..77c028f 100644 (file)
@@ -2062,6 +2062,8 @@ gst_pad_link_full (GstPad * srcpad, GstPad * sinkpad, GstPadLinkCheck flags)
 
     GST_CAT_INFO (GST_CAT_PADS, "linked %s:%s and %s:%s, successful",
         GST_DEBUG_PAD_NAME (srcpad), GST_DEBUG_PAD_NAME (sinkpad));
+
+    gst_pad_send_event (srcpad, gst_event_new_renegotiate ());
   } else {
     GST_CAT_INFO (GST_CAT_PADS, "link between %s:%s and %s:%s failed",
         GST_DEBUG_PAD_NAME (srcpad), GST_DEBUG_PAD_NAME (sinkpad));