Mark .exr as a valid image file.
[dcpomatic.git] / src / lib / video_content.cc
index cd96e19bc8b85100d9a052889870a28dd8d01761..5ca48254cd694f40c4cf57d70d85dad3658360cb 100644 (file)
@@ -548,5 +548,7 @@ VideoContent::modify_position (DCPTime& pos) const
 void
 VideoContent::modify_trim_start (ContentTime& trim) const
 {
-       trim = trim.ceil (_parent->video_frame_rate().get());
+       if (_parent->video_frame_rate()) {
+               trim = trim.ceil (_parent->video_frame_rate().get());
+       }
 }