diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-12-31 23:25:21 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-12-31 23:25:21 +0000 |
commit | 0ff930da825b29fc0e7c9955c33695dbe784dbb3 (patch) | |
tree | ddde6777ce9aa2990d5f56cfa2b2f9b3887befef | |
parent | a994808e314ae5d3124e600bf233388c2feea21e (diff) | |
download | mpv-0ff930da825b29fc0e7c9955c33695dbe784dbb3.tar.bz2 mpv-0ff930da825b29fc0e7c9955c33695dbe784dbb3.tar.xz |
Try to put the list of output formats for vf_scale in a more sensible
order.
While the 16-bit yuv formats should not be preferred over the 8-bit ones,
it seems reasonable to probe them directly after the equivalent 8-bit formats.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30155 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpcodecs/vf_scale.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libmpcodecs/vf_scale.c b/libmpcodecs/vf_scale.c index d2917bffbd..f2b375a26f 100644 --- a/libmpcodecs/vf_scale.c +++ b/libmpcodecs/vf_scale.c @@ -52,9 +52,15 @@ void sws_getFlagsAndFilterFromCmdLine(int *flags, SwsFilter **srcFilterParam, Sw static unsigned int outfmt_list[]={ // YUV: IMGFMT_444P, + IMGFMT_444P16_LE, + IMGFMT_444P16_BE, IMGFMT_422P, + IMGFMT_422P16_LE, + IMGFMT_422P16_BE, IMGFMT_YV12, IMGFMT_I420, + IMGFMT_420P16_LE, + IMGFMT_420P16_BE, IMGFMT_IYUV, IMGFMT_YVU9, IMGFMT_IF09, @@ -64,12 +70,6 @@ static unsigned int outfmt_list[]={ IMGFMT_YUY2, IMGFMT_UYVY, IMGFMT_440P, - IMGFMT_444P16_LE, - IMGFMT_444P16_BE, - IMGFMT_422P16_LE, - IMGFMT_422P16_BE, - IMGFMT_420P16_LE, - IMGFMT_420P16_BE, // RGB and grayscale (Y8 and Y800): IMGFMT_BGR32, IMGFMT_RGB32, |