diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-04-12 11:33:08 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-04-12 11:33:08 +0200 |
| commit | 0373571e06742ee73376a59fd91ce3e0099d4a15 (patch) | |
| tree | 75654531a06524f30887ca964dd1904ab5e434db /src/lib/hints.cc | |
| parent | 3dcabe8d9c7d82f6be4790fd68db62188ce64710 (diff) | |
Hint about problems with alpha channels (#3014).
Diffstat (limited to 'src/lib/hints.cc')
| -rw-r--r-- | src/lib/hints.cc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/hints.cc b/src/lib/hints.cc index 0979ce6a9..17aa16d47 100644 --- a/src/lib/hints.cc +++ b/src/lib/hints.cc @@ -487,6 +487,7 @@ try check_subtitle_languages(); check_audio_language(); check_8_or_16_audio_channels(); + check_video_alpha(); scan_content(film); @@ -770,3 +771,19 @@ Hints::check_8_or_16_audio_channels() } } + +void +Hints::check_video_alpha() +{ + for (auto content: film()->content()) { + if (content->video && content->video->has_alpha()) { + hint(fmt::format( + _("Some of your video content contains an alpha channel, and {} cannot be " + "certain how to process it. Check that your video looks correct in the " + "preview, and if not try enabling or disabling the 'premultiply' video filter " + "in the content Advanced Settings dialogue box."), + variant::dcpomatic())); + } + } +} + |
