summaryrefslogtreecommitdiff
path: root/src/lib/video_ring_buffers.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/video_ring_buffers.cc')
-rw-r--r--src/lib/video_ring_buffers.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/video_ring_buffers.cc b/src/lib/video_ring_buffers.cc
index e81605732..a8688a1cd 100644
--- a/src/lib/video_ring_buffers.cc
+++ b/src/lib/video_ring_buffers.cc
@@ -34,7 +34,6 @@ using boost::optional;
void
VideoRingBuffers::put (shared_ptr<PlayerVideo> frame, DCPTime time)
{
- cout << "put " << to_string(time) << "\n";
boost::mutex::scoped_lock lm (_mutex);
_data.push_back (make_pair (frame, time));
}
@@ -44,11 +43,9 @@ VideoRingBuffers::get ()
{
boost::mutex::scoped_lock lm (_mutex);
if (_data.empty ()) {
- cout << "get: no data.\n";
return make_pair(shared_ptr<PlayerVideo>(), DCPTime());
}
pair<shared_ptr<PlayerVideo>, DCPTime> const r = _data.front ();
- cout << "get: here we go! " << to_string(r.second) << "\n";
_data.pop_front ();
return r;
}