mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 04:52:28 +00:00
camerabin2: Use gst_pad_send_event instead of eventfunc macro
This commit is contained in:
parent
63d79a3aea
commit
fefc27a586
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue