Make DCPExaminer::size() optional and deal with the consequences. v2.16.78
authorCarl Hetherington <cth@carlh.net>
Wed, 21 Feb 2024 09:47:38 +0000 (10:47 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 21 Feb 2024 17:48:53 +0000 (18:48 +0100)
commit3ffd0163026be24e5373e0674c3301ed37546e44
tree918e6de08fb1efff2098148295fa60a614102c8e
parenta9b1c1cb65e1902a64430977cf698054e131a6f4
Make DCPExaminer::size() optional and deal with the consequences.

This means we can fix the case of a VF having no known size in a nice way,
in turn fixing problems caused by the fix to #2775.
26 files changed:
src/lib/copy_dcp_details_to_film.cc
src/lib/dcp_content.cc
src/lib/dcp_examiner.h
src/lib/ffmpeg_content.cc
src/lib/ffmpeg_decoder.cc
src/lib/ffmpeg_examiner.cc
src/lib/ffmpeg_examiner.h
src/lib/film.cc
src/lib/hints.cc
src/lib/image_decoder.cc
src/lib/image_examiner.cc
src/lib/image_examiner.h
src/lib/player.cc
src/lib/player_video.cc
src/lib/video_content.cc
src/lib/video_content.h
src/lib/video_examiner.h
src/lib/video_mxf_examiner.cc
src/lib/video_mxf_examiner.h
src/tools/dcpomatic_cli.cc
src/tools/dcpomatic_player.cc
src/wx/content_menu.cc
src/wx/player_information.cc
src/wx/video_panel.cc
test/dcp_examiner_test.cc
test/video_content_scale_test.cc