summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/JackInput.cpp2
-rw-r--r--src/VLCInput.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/JackInput.cpp b/src/JackInput.cpp
index 0d2204a..51de6e4 100644
--- a/src/JackInput.cpp
+++ b/src/JackInput.cpp
@@ -98,6 +98,8 @@ int JackInput::prepare()
fprintf (stderr, "JACK: cannot activate client");
return -1;
}
+
+ return 0;
}
void JackInput::jack_process(jack_nframes_t nframes)
diff --git a/src/VLCInput.cpp b/src/VLCInput.cpp
index 00d5fa4..dde9a7b 100644
--- a/src/VLCInput.cpp
+++ b/src/VLCInput.cpp
@@ -220,7 +220,7 @@ void VLCInput::exit_cb()
fprintf(stderr, "VLC exit, restarting...\n");
cleanup();
- m_current_buf.empty();
+ m_current_buf.clear();
prepare();
}