diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-10-07 13:18:13 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-10-07 13:22:31 +0200 |
commit | 2e04e80966d435f4e0c5f472d501b45ec52aba33 (patch) | |
tree | e6e4fbc484f2076df1135ed2262fd4d091e26e6e /src/VLCInput.h | |
parent | 274c56665d98a392b4488b5cbe4bf7206181c5fc (diff) | |
download | ODR-AudioEnc-2e04e80966d435f4e0c5f472d501b45ec52aba33.tar.gz ODR-AudioEnc-2e04e80966d435f4e0c5f472d501b45ec52aba33.tar.bz2 ODR-AudioEnc-2e04e80966d435f4e0c5f472d501b45ec52aba33.zip |
Add -R option to restart input on fault
Diffstat (limited to 'src/VLCInput.h')
-rw-r--r-- | src/VLCInput.h | 10 |
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 */ |