Skip to content
Extraits de code Groupes Projets
Valider eb3c6964 rédigé par Thomas Goyne's avatar Thomas Goyne
Parcourir les fichiers

Only update the YCbCr Matrix when resampling if it was actually changed

parent bafbaa0a
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -283,6 +283,7 @@ void ResampleResolution(AssFile *ass, ResampleSettings settings) {
ass->SetScriptInfo("PlayResX", std::to_string(settings.dest_x));
ass->SetScriptInfo("PlayResY", std::to_string(settings.dest_y));
if (resample_colors)
ass->SetScriptInfo("YCbCr Matrix", MatrixToString(settings.dest_matrix));
ass->Commit(_("resolution resampling"), AssFile::COMMIT_SCRIPTINFO | AssFile::COMMIT_DIAG_FULL);
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment