Mercurial > mplayer.hg
diff libmpdemux/demux_rawvideo.c @ 10594:57bdcdb061d7
Removed the historic cfgparser and switched full to the new config parser (altought some macros still remain for compatibility). As a side effect 90% of the warning messages are gone from the core. Things should be cleaner now and less confusing for newbies.
author | alex |
---|---|
date | Wed, 13 Aug 2003 16:29:32 +0000 |
parents | 3e40b8f879c8 |
children | 822b1fa6db25 |
line wrap: on
line diff
--- a/libmpdemux/demux_rawvideo.c Wed Aug 13 16:01:53 2003 +0000 +++ b/libmpdemux/demux_rawvideo.c Wed Aug 13 16:29:32 2003 +0000 @@ -7,7 +7,6 @@ #include <string.h> #include "../m_option.h" -#include "../m_config.h" #include "stream.h" #include "demuxer.h" @@ -23,7 +22,7 @@ static float fps = 25; static int imgsize=0; -config_t demux_rawvideo_opts[] = { +m_option_t demux_rawvideo_opts[] = { { "on", &demuxer_type, CONF_TYPE_FLAG, 0,0, DEMUXER_TYPE_RAWVIDEO, NULL }, // size: { "w", &width, CONF_TYPE_INT,CONF_RANGE,1,8192, NULL },