From 2e04e80966d435f4e0c5f472d501b45ec52aba33 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 7 Oct 2017 13:18:13 +0200 Subject: Add -R option to restart input on fault --- src/VLCInput.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/VLCInput.h') 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 */ -- cgit v1.2.3