mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-19 20:46:22 +00:00
camerabin: no need to send extra reconfigure
Setting capsfilters already sends reconfigure events when a new caps is set, no need to resend them.
This commit is contained in:
parent
9ff5b6bcbe
commit
cc130a2fea
1 changed files with 0 additions and 4 deletions
|
@ -1066,10 +1066,6 @@ gst_wrapper_camera_bin_src_start_capture (GstBaseCameraSrc * camerasrc)
|
||||||
g_mutex_lock (&camerasrc->capturing_mutex);
|
g_mutex_lock (&camerasrc->capturing_mutex);
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
gst_caps_unref (anycaps);
|
gst_caps_unref (anycaps);
|
||||||
|
|
||||||
/* We caught this event in the src pad event handler and now we want to
|
|
||||||
* actually push it upstream */
|
|
||||||
gst_pad_send_event (src->outsel_vidpad, gst_event_new_reconfigure ());
|
|
||||||
}
|
}
|
||||||
if (src->video_rec_status == GST_VIDEO_RECORDING_STATUS_DONE) {
|
if (src->video_rec_status == GST_VIDEO_RECORDING_STATUS_DONE) {
|
||||||
src->video_rec_status = GST_VIDEO_RECORDING_STATUS_STARTING;
|
src->video_rec_status = GST_VIDEO_RECORDING_STATUS_STARTING;
|
||||||
|
|
Loading…
Reference in a new issue