summaryrefslogtreecommitdiffstats
path: root/src/VLCInput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VLCInput.cpp')
-rw-r--r--src/VLCInput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VLCInput.cpp b/src/VLCInput.cpp
index 9cf13d8..37ad1e0 100644
--- a/src/VLCInput.cpp
+++ b/src/VLCInput.cpp
@@ -294,7 +294,7 @@ void VLCInput::postRender_cb()
ssize_t VLCInput::m_read(uint8_t* buf, size_t length)
{
ssize_t err = 0;
- for (;;) {
+ while (m_running) {
{
std::lock_guard<std::mutex> lock(m_queue_mutex);