summaryrefslogtreecommitdiffstats
path: root/libmpdemux/tv.c
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-24 11:01:16 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-24 11:01:16 +0000
commitcd6136dfeb8eb5582a184044bf69181e0423c4f4 (patch)
treedd4d0dd8501875b34f2560991f30310644e430be /libmpdemux/tv.c
parentb764f8e7512890aafddcd1e0ee0020181976dc93 (diff)
downloadmpv-cd6136dfeb8eb5582a184044bf69181e0423c4f4.tar.bz2
mpv-cd6136dfeb8eb5582a184044bf69181e0423c4f4.tar.xz
i420 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3704 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/tv.c')
-rw-r--r--libmpdemux/tv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/tv.c b/libmpdemux/tv.c
index c01fd5ca47..7549176722 100644
--- a/libmpdemux/tv.c
+++ b/libmpdemux/tv.c
@@ -109,6 +109,8 @@ int stream_open_tv(stream_t *stream, tvi_handle_t *tvh)
if (!strcasecmp(tv_param_outfmt, "yv12"))
picture_format = IMGFMT_YV12;
+ else if (!strcasecmp(tv_param_outfmt, "i420"))
+ picture_format = IMGFMT_I420;
else if (!strcasecmp(tv_param_outfmt, "uyvy"))
picture_format = IMGFMT_UYVY;
else if (!strcasecmp(tv_param_outfmt, "rgb32"))