From 203508079a8f8879cdc56ead5f8f71a539fdcb95 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Sun, 26 Dec 2010 20:35:47 -0300 Subject: [PATCH] camerabin2: Fix renegotiate event pushing Use a hack to make the event upstream to reach the camera source instead of going downstream and being useless. This was already fixed this way for image srcpad renegotiate and video srcpad was left unfixed. --- gst/camerabin2/gstcamerabin2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/camerabin2/gstcamerabin2.c b/gst/camerabin2/gstcamerabin2.c index 442c681631..73a7fdf1c8 100644 --- a/gst/camerabin2/gstcamerabin2.c +++ b/gst/camerabin2/gstcamerabin2.c @@ -598,7 +598,7 @@ gst_camera_bin_set_property (GObject * object, guint prop_id, if (pad) { GST_DEBUG_OBJECT (camera, "Pushing renegotiate on %s", GST_PAD_NAME (pad)); - gst_pad_push_event (pad, gst_camera_bin_new_event_renegotiate ()); + GST_PAD_EVENTFUNC (pad) (pad, gst_camera_bin_new_event_renegotiate ()); gst_object_unref (pad); } }