Several fixes to audio.
[dcpomatic.git] / src / lib / video_ring_buffers.cc
index e81605732dd323ea240e501f57af299609d12987..a8688a1cd7f6d246562f63e90780cdda72600563 100644 (file)
@@ -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;
 }