Check _inter_size in ::has_j2k() (fixes #2086).
authorCarl Hetherington <cth@carlh.net>
Sun, 19 Sep 2021 20:58:31 +0000 (22:58 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 19 Sep 2021 20:58:31 +0000 (22:58 +0200)
commitc162f9d8b127f56b8da46b83908000611033e6a5
treea00d19c969f8b9bfa061854badac14470223e1f0
parentd0070054da8bd1ac06b41cbd41c2583cf1265e10
Check _inter_size in ::has_j2k() (fixes #2086).

The example in the bug shrinks a content DCP while keeping the
container the same.  We need to check that neither _out_size nor
_inter_size have changed, to check for scaling/padding.
src/lib/player_video.cc