mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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.
This commit is contained in:
parent
1c761196f7
commit
203508079a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue