void
VideoDecoder::seek ()
{
- _position = ContentTime();
+ _position = boost::none;
_last_emitted_frame.reset ();
_last_emitted_eyes.reset ();
}
void seek ();
void emit (boost::shared_ptr<const Film> film, boost::shared_ptr<const ImageProxy>, Frame frame);
- /** @return true if the emitted data was accepted, false if not */
boost::signals2::signal<void (ContentVideo)> Data;
private:
film->examine_and_add_content (content);
BOOST_REQUIRE (!wait_for_jobs());
film->write_metadata ();
- shared_ptr<Log> log (new NullLog);
shared_ptr<Player> player (new Player (film, film->playlist()));
BOOST_REQUIRE (content->video_frame_rate());
#include "lib/dcp_content_type.h"
#include "lib/log_entry.h"
#include "lib/compose.hpp"
+#include "lib/file_log.h"
+#include "lib/dcpomatic_log.h"
#include "test.h"
#include <dcp/dcp.h>
#include <dcp/cpl.h>
if (env_private) {
private_data = env_private;
}
+
+ dcpomatic_log.reset (new FileLog("build/test/log"));
}
~TestConfig ()