camerabin2: Use gst_pad_send_event instead of eventfunc macro
This commit is contained in:
parent
63d79a3aea
commit
fefc27a586
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user