summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-11-11 23:35:32 +0100
committerCarl Hetherington <cth@carlh.net>2020-11-11 23:35:32 +0100
commit875251712974e7426bdc3ac5013a857b67eede8b (patch)
treec76ad42b2e1ca7f6bfc8f5de5e10a8334e7a9a81 /src/lib
parentb83e61259c0244d5618c5ed9dcc8602205580886 (diff)
Remove assertion checking that rotations are a multiple of 90.
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. Backported-from-commit: f235ed07f969e1b8b9d3d05082dcdd68ceae771e Backported-from-branch: master
Diffstat (limited to 'src/lib')
-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 5683555e4..8a26f5626 100644
--- a/src/lib/ffmpeg_examiner.cc
+++ b/src/lib/ffmpeg_examiner.cc
@@ -184,8 +184,6 @@ DCPOMATIC_ENABLE_WARNINGS
}
_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);