diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-09-20 01:13:27 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-09-20 01:13:27 +0100 |
| commit | a9370ddf1d55ca01307c086950d2294611d9e6a6 (patch) | |
| tree | f1dda402c58c89534ede93e96ce9f79d244ad4a7 /src/lib | |
| parent | 6405a6cec2420a4810dc0a39942804b4dd5bb7b9 (diff) | |
Slightly hacky fix to make ImageSequenceDialog actually work.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/image_examiner.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/image_examiner.cc b/src/lib/image_examiner.cc index bb0f365d6..7a93b5cd1 100644 --- a/src/lib/image_examiner.cc +++ b/src/lib/image_examiner.cc @@ -84,6 +84,11 @@ ImageExaminer::video_size () const optional<double> ImageExaminer::video_frame_rate () const { + if (_image_content->video_frame_rate() != 0) { + /* The content already knows what frame rate it should be */ + return _image_content->video_frame_rate(); + } + /* Don't know */ return optional<double> (); } |
