X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fffmpeg_content.cc;h=20fe7776bd9aafb80ca12c0fbd035875c0551aaf;hb=43cca4d3a11e077b3e75c713b95942cc3afc9eb1;hp=ceebb5572ed03df1a176629eec4d4f940d236482;hpb=83a948956916abb7b2c13c25141323d326b38708;p=dcpomatic.git diff --git a/src/lib/ffmpeg_content.cc b/src/lib/ffmpeg_content.cc index ceebb5572..20fe7776b 100644 --- a/src/lib/ffmpeg_content.cc +++ b/src/lib/ffmpeg_content.cc @@ -299,6 +299,9 @@ FFmpegContent::examine (shared_ptr film, shared_ptr job) _filters.push_back(*Filter::from_id("90anticlock")); } } + if (examiner->has_alpha()) { + _filters.push_back(*Filter::from_id("premultiply")); + } } if (!examiner->audio_streams().empty()) {