summaryrefslogtreecommitdiff
path: root/gst/camerabin2
diff options
context:
space:
mode:
authorThiago Santos <thiago.sousa.santos@collabora.com>2012-08-29 22:05:04 -0300
committerThiago Santos <thiago.sousa.santos@collabora.com>2012-08-29 22:05:04 -0300
commitcc130a2fea40ef1559c7708af1c68957fb29a5b1 (patch)
tree13a992044e9f2639ec1509700eada86e8ae7bce4 /gst/camerabin2
parent9ff5b6bcbe7ce57dabe580b1bceaff425bf42f3c (diff)
downloadgstreamer-plugins-bad-cc130a2fea40ef1559c7708af1c68957fb29a5b1.tar.gz
camerabin: no need to send extra reconfigure
Setting capsfilters already sends reconfigure events when a new caps is set, no need to resend them.
Diffstat (limited to 'gst/camerabin2')
-rw-r--r--gst/camerabin2/gstwrappercamerabinsrc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gst/camerabin2/gstwrappercamerabinsrc.c b/gst/camerabin2/gstwrappercamerabinsrc.c
index 3b7a1d70c..042a23e12 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;