summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-20 01:13:27 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-20 01:13:27 +0100
commita9370ddf1d55ca01307c086950d2294611d9e6a6 (patch)
treef1dda402c58c89534ede93e96ce9f79d244ad4a7 /src
parent6405a6cec2420a4810dc0a39942804b4dd5bb7b9 (diff)
Slightly hacky fix to make ImageSequenceDialog actually work.
Diffstat (limited to 'src')
-rw-r--r--src/lib/image_examiner.cc5
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> ();
}