diff options
Diffstat (limited to 'src/lib/dcp_content.cc')
| -rw-r--r-- | src/lib/dcp_content.cc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc index 43b404f60..6a6f6efc5 100644 --- a/src/lib/dcp_content.cc +++ b/src/lib/dcp_content.cc @@ -193,7 +193,7 @@ DCPContent::as_xml (xmlpp::Node* node) const DCPTime DCPContent::full_length () const { - FrameRateChange const frc (video->frame_rate (), film()->video_frame_rate ()); + FrameRateChange const frc (active_video_frame_rate (), film()->video_frame_rate ()); return DCPTime::from_frames (llrint (video->length () * frc.factor ()), film()->video_frame_rate ()); } @@ -363,11 +363,3 @@ DCPContent::can_reference_subtitle (list<string>& why_not) const /* XXX: this needs to be fixed */ return true; } - -void -DCPContent::changed (int property) -{ - if (property == VideoContentProperty::FRAME_RATE && subtitle) { - subtitle->set_video_frame_rate (video->frame_rate ()); - } -} |
