summaryrefslogtreecommitdiff
path: root/gst/camerabin2/gstcamerabin2.c
diff options
context:
space:
mode:
authorThiago Santos <thiagoss@osg.samsung.com>2015-03-14 17:29:02 +0000
committerThiago Santos <thiagoss@osg.samsung.com>2015-03-14 18:29:28 +0000
commit187d4441eb9f662611a02ce6d889eea43b90199d (patch)
tree5f9b20519aba4da7c573dfec6752bf3069cbacc6 /gst/camerabin2/gstcamerabin2.c
parent888414ed1109721af11012bb4cf4216b485babab (diff)
downloadgstreamer-plugins-bad-187d4441eb9f662611a02ce6d889eea43b90199d.tar.gz
camerabin: remove hack around bug 648359
It is already fixed
Diffstat (limited to 'gst/camerabin2/gstcamerabin2.c')
-rw-r--r--gst/camerabin2/gstcamerabin2.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/gst/camerabin2/gstcamerabin2.c b/gst/camerabin2/gstcamerabin2.c
index 1b9d5d97b..7458675b3 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);