Skip to content
Snippets Groups Projects
Commit 31a192f3 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

imgconvert: favor pixel formats without resolution loss


Fixes Ticket1517

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent ef1c0b52
No related branches found
No related tags found
No related merge requests found
...@@ -543,6 +543,7 @@ enum PixelFormat avcodec_find_best_pix_fmt2(enum PixelFormat dst_pix_fmt1, enum ...@@ -543,6 +543,7 @@ enum PixelFormat avcodec_find_best_pix_fmt2(enum PixelFormat dst_pix_fmt1, enum
~0, /* no loss first */ ~0, /* no loss first */
~FF_LOSS_ALPHA, ~FF_LOSS_ALPHA,
~FF_LOSS_RESOLUTION, ~FF_LOSS_RESOLUTION,
~FF_LOSS_COLORSPACE,
~(FF_LOSS_COLORSPACE | FF_LOSS_RESOLUTION), ~(FF_LOSS_COLORSPACE | FF_LOSS_RESOLUTION),
~FF_LOSS_COLORQUANT, ~FF_LOSS_COLORQUANT,
~FF_LOSS_DEPTH, ~FF_LOSS_DEPTH,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment