camerabin: no need to send extra reconfigure
authorThiago Santos <thiago.sousa.santos@collabora.com>
Thu, 30 Aug 2012 01:05:04 +0000 (22:05 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Thu, 30 Aug 2012 01:05:04 +0000 (22:05 -0300)
Setting capsfilters already sends reconfigure events when a new
caps is set, no need to resend them.

gst/camerabin2/gstwrappercamerabinsrc.c

index 3b7a1d70c8aff5e7b695f8cc800ccc063d3966e3..042a23e12b992f9690238eb8a0a6331f442b14da 100644 (file)
@@ -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;