summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-27 16:21:21 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-27 16:21:21 +0100
commit1e0425dc769a0a909d20de7af373bff3f38de8d2 (patch)
tree05be462c0077049d182647978714076c5ca80be0
parentae4f0d9f55489ddc50b3e5f0d713621ee8f50645 (diff)
Remove debug code.
-rw-r--r--src/lib/butler.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/butler.cc b/src/lib/butler.cc
index 138ee0fbd..112778e25 100644
--- a/src/lib/butler.cc
+++ b/src/lib/butler.cc
@@ -198,7 +198,6 @@ Butler::get_video ()
}
pair<shared_ptr<PlayerVideo>, DCPTime> const r = _video.get ();
- cout << "BGV " << to_string(r.second) << " " << _video.size() << "\n";
_summon.notify_all ();
return r;
}
@@ -234,7 +233,6 @@ Butler::prepare (weak_ptr<PlayerVideo> weak_video) const
void
Butler::video (shared_ptr<PlayerVideo> video, DCPTime time)
{
- cout << "BV: " << to_string(time) << " " << _video.size() << " " << (float(_video.size()) / 24) << "\n";
boost::mutex::scoped_lock lm (_mutex);
if (_pending_seek_position) {
/* Don't store any video while a seek is pending */
@@ -248,7 +246,6 @@ Butler::video (shared_ptr<PlayerVideo> video, DCPTime time)
void
Butler::audio (shared_ptr<AudioBuffers> audio)
{
- cout << "BA: " << audio->frames() << " " << _audio.size() << " " << (float(_audio.size()) / 48000) << "\n";
{
boost::mutex::scoped_lock lm (_mutex);
if (_pending_seek_position || _disable_audio) {
@@ -268,7 +265,6 @@ bool
Butler::get_audio (float* out, Frame frames)
{
bool const underrun = _audio.get (out, _audio_channels, frames);
- cout << "BGA: " << frames << " " << _audio.size() << " " << (float(_audio.size()) / 48000) << "\n";
_summon.notify_all ();
return underrun;
}