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
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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);
}
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter