From fe025d13cc74b117561b89aa45d7372c3f91d252 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 13 Aug 2003 19:02:34 +0000 Subject: using CONF_TYPE_IMGFMT git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10600 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_rawvideo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libmpdemux/demux_rawvideo.c') diff --git a/libmpdemux/demux_rawvideo.c b/libmpdemux/demux_rawvideo.c index cf8fcb4210..db6c35e4a7 100644 --- a/libmpdemux/demux_rawvideo.c +++ b/libmpdemux/demux_rawvideo.c @@ -36,7 +36,8 @@ m_option_t demux_rawvideo_opts[] = { { "16cif", &size_id, CONF_TYPE_FLAG,0,0,7, NULL }, { "sif", &size_id, CONF_TYPE_FLAG,0,0,8, NULL }, // format: - { "format", &format, CONF_TYPE_INT, 0, 0 , 0, NULL }, + { "format", &format, CONF_TYPE_IMGFMT, 0, 0 , 0, NULL }, + // below options are obsolete { "y420", &format, CONF_TYPE_FLAG, 0, 0 , IMGFMT_I420, NULL }, { "yv12", &format, CONF_TYPE_FLAG, 0, 0 , IMGFMT_YV12, NULL }, { "nv12", &format, CONF_TYPE_FLAG, 0, 0 , IMGFMT_NV12, NULL }, -- cgit v1.2.3