diff options
author | wm4 <wm4@nowhere> | 2012-12-27 18:09:58 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-12-28 14:23:29 +0100 |
commit | 973f34bb5666c6e69b76bb75fe3c1833136724cc (patch) | |
tree | ee3813e093a3ad2ad70053dc9c3377e88b1de2de | |
parent | d78bde15ab4be5f46a6fb5fc5a35d6acbc6c39cf (diff) | |
download | mpv-973f34bb5666c6e69b76bb75fe3c1833136724cc.tar.bz2 mpv-973f34bb5666c6e69b76bb75fe3c1833136724cc.tar.xz |
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.
-rw-r--r-- | video/filter/vf_scale.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/filter/vf_scale.c b/video/filter/vf_scale.c index f19225fddd..76423dbda9 100644 --- a/video/filter/vf_scale.c +++ b/video/filter/vf_scale.c @@ -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}, |