summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_examiner.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-11-11 23:33:31 +0100
committerCarl Hetherington <cth@carlh.net>2020-11-11 23:33:31 +0100
commitf235ed07f969e1b8b9d3d05082dcdd68ceae771e (patch)
tree962b9c44a1f236934069df17bc315bfce7294010 /src/lib/ffmpeg_examiner.cc
parentedbd3d482734fcd12985252932918776f9ee0bad (diff)
Remove assertion checking that rotations are a multiple of 90.v2.14.42
This is checked later, anyway (without asserting) and we have seen files in the wild with other rotations (e.g. -135.62) which do not appear to need rotation to be applied. Fixes #1871.
Diffstat (limited to 'src/lib/ffmpeg_examiner.cc')
-rw-r--r--src/lib/ffmpeg_examiner.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/ffmpeg_examiner.cc b/src/lib/ffmpeg_examiner.cc
index 3b907ea54..c57845779 100644
--- a/src/lib/ffmpeg_examiner.cc
+++ b/src/lib/ffmpeg_examiner.cc
@@ -177,8 +177,6 @@ FFmpegExaminer::FFmpegExaminer (shared_ptr<const FFmpegContent> c, shared_ptr<Jo
}
_rotation = *_rotation - 360 * floor (*_rotation / 360 + 0.9 / 360);
-
- DCPOMATIC_ASSERT (fabs (*_rotation - 90 * round (*_rotation / 90)) < 2);
}
LOG_GENERAL("Temporal reference was %1", temporal_reference);