summaryrefslogtreecommitdiffstats
path: root/libmpdemux/tv.c
diff options
context:
space:
mode:
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"))