From d9f6eaec8f78e6d8d5739d3aa68bd7485d8534cd Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 2 May 2014 09:03:08 +0100 Subject: Fix subrip test. --- src/lib/subrip_content.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib') diff --git a/src/lib/subrip_content.cc b/src/lib/subrip_content.cc index 9524cf96b..eb9c67d9a 100644 --- a/src/lib/subrip_content.cc +++ b/src/lib/subrip_content.cc @@ -50,7 +50,10 @@ SubRipContent::examine (boost::shared_ptr job) { Content::examine (job); SubRip s (shared_from_this ()); + shared_ptr film = _film.lock (); + assert (film); + DCPTime len (s.length (), film->active_frame_rate_change (position ())); boost::mutex::scoped_lock lm (_mutex); -- cgit v1.2.3