summaryrefslogtreecommitdiffstats
path: root/src/VLCInput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VLCInput.cpp')
-rw-r--r--src/VLCInput.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/VLCInput.cpp b/src/VLCInput.cpp
index 7b10d81..0547696 100644
--- a/src/VLCInput.cpp
+++ b/src/VLCInput.cpp
@@ -125,6 +125,9 @@ VLCInput::~VLCInput()
{
m_running = false;
+ // Ensures push() doesn't get blocked
+ m_samplequeue.clear();
+
if (m_thread.joinable()) {
m_thread.join();
}