#include "content_video.h"
#include "dcpomatic_assert.h"
#include "dcpomatic_log.h"
-#include <boost/foreach.hpp>
#include <string>
#include <iostream>
using std::make_pair;
using std::string;
-using boost::weak_ptr;
-using boost::shared_ptr;
+using std::weak_ptr;
+using std::shared_ptr;
using boost::optional;
int const Shuffler::_max_size = 64;
LOG_WARNING ("Shuffler is full after receiving frame %1; 3D sync may be incorrect.", video.frame);
}
- LOG_DEBUG_THREED("Shuffler emits frame=%1 eyes=%2 store=%3", _store.front().second.frame, static_cast<int>(_store.front().second.eyes, _store.size()));
+ LOG_DEBUG_THREED("Shuffler emits frame=%1 eyes=%2 store=%3", _store.front().second.frame, static_cast<int>(_store.front().second.eyes), _store.size());
Video (_store.front().first, _store.front().second);
_last = _store.front().second;
_store.pop_front ();
void
Shuffler::flush ()
{
- BOOST_FOREACH (Store i, _store) {
+ for (auto i: _store) {
Video (i.first, i.second);
}
}