From 4c53579af096631064d743874b42e9d75a10b00c Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 20 Jan 2015 10:59:41 -0600 Subject: remove the 'loop' test when deciding whether or not to set the audio role. --- src/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sound.cpp') diff --git a/src/sound.cpp b/src/sound.cpp index 3a4b26f..d99fcdd 100644 --- a/src/sound.cpp +++ b/src/sound.cpp @@ -110,7 +110,7 @@ private: GST_SEEK_TYPE_NONE, (gint64)GST_CLOCK_TIME_NONE); } - else if ((GST_MESSAGE_TYPE(msg) == GST_MESSAGE_STREAM_START) && (self->m_loop)) + else if (GST_MESSAGE_TYPE(msg) == GST_MESSAGE_STREAM_START) { /* Set the media role if audio sink is pulsesink */ GstElement *audio_sink = nullptr; -- cgit v1.2.3