summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/img_format.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-30 12:03:17 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-30 12:03:17 +0000
commitcc46a64a26bc351a440ac615ac65cec864dba845 (patch)
tree673f34f9430d951e1f2c88465659ff804e926630 /libmpcodecs/img_format.c
parent8e35068138e7e6398c03b6b38a69be9aaef426c7 (diff)
downloadmpv-cc46a64a26bc351a440ac615ac65cec864dba845.tar.bz2
mpv-cc46a64a26bc351a440ac615ac65cec864dba845.tar.xz
Add support for 440p colorspace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30140 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/img_format.c')
-rw-r--r--libmpcodecs/img_format.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmpcodecs/img_format.c b/libmpcodecs/img_format.c
index d4f4d59f38..bfdcf91b64 100644
--- a/libmpcodecs/img_format.c
+++ b/libmpcodecs/img_format.c
@@ -108,6 +108,10 @@ int mp_get_chroma_shift(int format, int *x_shift, int *y_shift)
xs = 2;
ys = 0;
break;
+ case IMGFMT_440P:
+ xs = 0;
+ ys = 1;
+ break;
default:
err = 1;
break;