diff options
Diffstat (limited to 'src/snap.cpp')
-rw-r--r-- | src/snap.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/snap.cpp b/src/snap.cpp index 97fcbab..ca89851 100644 --- a/src/snap.cpp +++ b/src/snap.cpp @@ -226,6 +226,9 @@ private: }; std::string uri; + if (!alarm.has_sound() && !is_alarm) + return uri; + for(const auto& candidate : candidates) { if (gst_uri_is_valid (candidate.c_str())) |