aboutsummaryrefslogtreecommitdiffstats
path: root/src/VLCInput.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/VLCInput.h')
-rw-r--r--src/VLCInput.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/VLCInput.h b/src/VLCInput.h
index 076e961..f0212ab 100644
--- a/src/VLCInput.h
+++ b/src/VLCInput.h
@@ -103,15 +103,7 @@ class VLCInput : public InputInterface
VLCInput(const VLCInput& other) = delete;
VLCInput& operator=(const VLCInput& other) = delete;
- ~VLCInput()
- {
- if (m_running) {
- m_running = false;
- m_thread.join();
- }
-
- cleanup();
- }
+ virtual ~VLCInput();
/*! Initialise VLC and start playing, and start
* the libVLC thread that fills m_samplequeue */