diff --git a/src/resolution_resampler.cpp b/src/resolution_resampler.cpp index 9e3c49b66..0f317161a 100644 --- a/src/resolution_resampler.cpp +++ b/src/resolution_resampler.cpp @@ -283,7 +283,8 @@ void ResampleResolution(AssFile *ass, ResampleSettings settings) { ass->SetScriptInfo("PlayResX", std::to_string(settings.dest_x)); ass->SetScriptInfo("PlayResY", std::to_string(settings.dest_y)); - ass->SetScriptInfo("YCbCr Matrix", MatrixToString(settings.dest_matrix)); + if (resample_colors) + ass->SetScriptInfo("YCbCr Matrix", MatrixToString(settings.dest_matrix)); ass->Commit(_("resolution resampling"), AssFile::COMMIT_SCRIPTINFO | AssFile::COMMIT_DIAG_FULL); }