_encoder->begin ();
DCPTime const frame = DCPTime::from_frames (1, _film->video_frame_rate ());
- for (DCPTime t; t < _film->length(); t += frame) {
+ DCPTime const length = _film->length ();
+ for (DCPTime t; t < length; t += frame) {
list<shared_ptr<PlayerVideo> > v = _player->get_video (t, true);
for (list<shared_ptr<PlayerVideo> >::const_iterator i = v.begin(); i != v.end(); ++i) {
_encoder->enqueue (*i);
new dcp::ReelSubtitleAsset (
_subtitle_content,
dcp::Fraction (_film->video_frame_rate(), 1),
- _subtitle_content->latest_subtitle_out().to_seconds() * _film->video_frame_rate(),
+ _picture_mxf->intrinsic_duration (),
0
)
));
options.max_audio_sample_error = 255;
options.cpl_annotation_texts_can_differ = true;
options.mxf_names_can_differ = true;
+ options.reel_hashes_can_differ = true;
BOOST_CHECK (ref_dcp.equals (check_dcp, options, boost::bind (note, _1, _2)));
}
film_metadata_test.cc
frame_rate_test.cc
image_test.cc
+ import_dcp_test.cc
isdcf_name_test.cc
job_test.cc
make_black_test.cc