aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-01-20 10:59:41 -0600
committerCharles Kerr <charles.kerr@canonical.com>2015-01-20 10:59:41 -0600
commit4c53579af096631064d743874b42e9d75a10b00c (patch)
tree5c68e841aa3259ec95b8c9bf6f32706b7ca97cbf
parentf926c6711feb56d831f5a09d6be6d62bf87cd87b (diff)
downloadayatana-indicator-datetime-4c53579af096631064d743874b42e9d75a10b00c.tar.gz
ayatana-indicator-datetime-4c53579af096631064d743874b42e9d75a10b00c.tar.bz2
ayatana-indicator-datetime-4c53579af096631064d743874b42e9d75a10b00c.zip
remove the 'loop' test when deciding whether or not to set the audio role.
-rw-r--r--src/sound.cpp2
1 files changed, 1 insertions, 1 deletions
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;