Content::examine (job);
shared_ptr<DCPExaminer> examiner (new DCPExaminer (shared_from_this ()));
- take_from_video_examiner (examiner);
+ video->take_from_video_examiner (examiner);
set_default_colour_conversion ();
take_from_audio_examiner (examiner);
DCPTime
DCPContent::full_length () const
{
- FrameRateChange const frc (video_frame_rate (), film()->video_frame_rate ());
+ FrameRateChange const frc (video->video_frame_rate (), film()->video_frame_rate ());
return DCPTime::from_frames (llrint (video_length () * frc.factor ()), film()->video_frame_rate ());
}
DCPContent::set_default_colour_conversion ()
{
/* Default to no colour conversion for DCPs */
- unset_colour_conversion ();
+ video->unset_colour_conversion ();
}
void
return can_reference<SubtitleContent> (_("There is other subtitle content overlapping this DCP; remove it."), why_not);
}
+
+double
+DCPContent::subtitle_video_frame_rate () const
+{
+ return video->video_frame_rate ();
+}