summaryrefslogtreecommitdiffstats
path: root/src/VLCInput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VLCInput.cpp')
-rw-r--r--src/VLCInput.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/VLCInput.cpp b/src/VLCInput.cpp
index 9c424bb..494d620 100644
--- a/src/VLCInput.cpp
+++ b/src/VLCInput.cpp
@@ -252,6 +252,12 @@ void VLCInput::prepare()
m_thread = std::thread(&VLCInput::process, this);
}
+bool VLCInput::read_source(size_t num_bytes)
+{
+ // Reading done in separate thread, no normal termination condition possible
+ return true;
+}
+
void VLCInput::preRender_cb(uint8_t** pp_pcm_buffer, size_t size)
{
const size_t max_length = 20 * size;