camerabin2: Use gst_pad_send_event instead of eventfunc macro

This commit is contained in:
Thiago Santos 2011-08-18 18:27:03 -03:00
parent 63d79a3aea
commit fefc27a586

View file

@ -1765,7 +1765,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_EVENTFUNC (pad) (pad, gst_camera_bin_new_event_renegotiate ());
gst_pad_send_event (pad, gst_camera_bin_new_event_renegotiate ());
gst_object_unref (pad);
}
}
@ -1793,7 +1793,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_EVENTFUNC (pad) (pad, gst_camera_bin_new_event_renegotiate ());
gst_pad_send_event (pad, gst_camera_bin_new_event_renegotiate ());
gst_object_unref (pad);
}
}
@ -1821,7 +1821,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_EVENTFUNC (pad) (pad, gst_camera_bin_new_event_renegotiate ());
gst_pad_send_event (pad, gst_camera_bin_new_event_renegotiate ());
gst_object_unref (pad);
}
}