diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-11-11 23:33:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-11-11 23:33:31 +0100 |
| commit | f235ed07f969e1b8b9d3d05082dcdd68ceae771e (patch) | |
| tree | 962b9c44a1f236934069df17bc315bfce7294010 | |
| parent | edbd3d482734fcd12985252932918776f9ee0bad (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.
| -rw-r--r-- | src/lib/ffmpeg_examiner.cc | 2 |
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); |
