From cc130a2fea40ef1559c7708af1c68957fb29a5b1 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Wed, 29 Aug 2012 22:05:04 -0300 Subject: [PATCH] camerabin: no need to send extra reconfigure Setting capsfilters already sends reconfigure events when a new caps is set, no need to resend them. --- gst/camerabin2/gstwrappercamerabinsrc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gst/camerabin2/gstwrappercamerabinsrc.c b/gst/camerabin2/gstwrappercamerabinsrc.c index 3b7a1d70c8..042a23e12b 100644 --- a/gst/camerabin2/gstwrappercamerabinsrc.c +++ b/gst/camerabin2/gstwrappercamerabinsrc.c @@ -1066,10 +1066,6 @@ gst_wrapper_camera_bin_src_start_capture (GstBaseCameraSrc * camerasrc) g_mutex_lock (&camerasrc->capturing_mutex); gst_caps_unref (caps); 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) { src->video_rec_status = GST_VIDEO_RECORDING_STATUS_STARTING;