vf_scale: prefer 420P10 -> YV12 instead of 444P

Strictly speaking, 444P is higher quality than YV12, but doing this is
not very useful when playing 10 bit video with -vo opengl-old on a GPU
that doesn't support 16 bit textures.
This commit is contained in:
wm4 2012-12-27 18:09:58 +01:00
parent d78bde15ab
commit 973f34bb56
1 changed files with 1 additions and 0 deletions

View File

@ -159,6 +159,7 @@ static int preferred_conversions[][2] = {
{IMGFMT_UYVY, IMGFMT_422P},
{IMGFMT_422P, IMGFMT_YUY2},
{IMGFMT_422P, IMGFMT_UYVY},
{IMGFMT_420P10, IMGFMT_YV12},
{IMGFMT_GBRP, IMGFMT_BGR24},
{IMGFMT_GBRP, IMGFMT_RGB24},
{IMGFMT_GBRP, IMGFMT_BGR32},