From 187d4441eb9f662611a02ce6d889eea43b90199d Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Sat, 14 Mar 2015 17:29:02 +0000 Subject: [PATCH] camerabin: remove hack around bug 648359 It is already fixed --- gst/camerabin2/gstcamerabin2.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/gst/camerabin2/gstcamerabin2.c b/gst/camerabin2/gstcamerabin2.c index 1b9d5d97b2..7458675b32 100644 --- a/gst/camerabin2/gstcamerabin2.c +++ b/gst/camerabin2/gstcamerabin2.c @@ -982,14 +982,7 @@ gst_camera_bin_video_reset_elements (gpointer u_data) if (camerabin->audio_src) { gst_element_set_state (camerabin->audio_capsfilter, GST_STATE_READY); gst_element_set_state (camerabin->audio_volume, GST_STATE_READY); - - /* FIXME We need to set audiosrc to null to make it resync the ringbuffer - * while bug https://bugzilla.gnome.org/show_bug.cgi?id=648359 isn't - * fixed. - * - * Also, we don't reinit the audiosrc to keep audio devices from being open - * and running until we really need them */ - gst_element_set_state (camerabin->audio_src, GST_STATE_NULL); + gst_element_set_state (camerabin->audio_src, GST_STATE_READY); if (camerabin->audio_filter) { gst_element_set_state (camerabin->audio_filter, GST_STATE_READY);