changeset 10599:822b1fa6db25

using CONF_TYPE_IMGFMT
author alex
date Wed, 13 Aug 2003 19:02:34 +0000
parents 2b88c28a3cfe
children 3cf428b56cde
files libmpdemux/demux_rawvideo.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_rawvideo.c	Wed Aug 13 18:56:29 2003 +0000
+++ b/libmpdemux/demux_rawvideo.c	Wed Aug 13 19:02:34 2003 +0000
@@ -36,7 +36,8 @@
   { "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 },