diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-08 14:23:08 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-08 14:23:08 +0100 |
| commit | 02de0e70ffa175861fb4392e9df4e5a7c1579375 (patch) | |
| tree | 3207125240d7155d8e55e3339f1f2b2c363a1dfc /src/lib/video_content.cc | |
| parent | 73f52e94953848c696725defd3d7f5c4c30707e2 (diff) | |
Small clean up to video examiner use.
Diffstat (limited to 'src/lib/video_content.cc')
| -rw-r--r-- | src/lib/video_content.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index 97e7915df..5fd71076b 100644 --- a/src/lib/video_content.cc +++ b/src/lib/video_content.cc @@ -188,15 +188,18 @@ VideoContent::take_from_video_examiner (shared_ptr<VideoExaminer> d) /* These examiner calls could call other content methods which take a lock on the mutex */ dcp::Size const vs = d->video_size (); float const vfr = d->video_frame_rate (); + ContentTime vl = d->video_length (); { boost::mutex::scoped_lock lm (_mutex); _video_size = vs; _video_frame_rate = vfr; + _video_length = vl; } signal_changed (VideoContentProperty::VIDEO_SIZE); signal_changed (VideoContentProperty::VIDEO_FRAME_RATE); + signal_changed (ContentProperty::LENGTH); } |
