Mercurial > mplayer.hg
comparison libvo/vo_dxr2.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 | 5b39e79af5fe |
children | 85e503ddf65f |
comparison
equal
deleted
inserted
replaced
10593:27711ab2889f | 10594:57bdcdb061d7 |
---|---|
14 | 14 |
15 #include "config.h" | 15 #include "config.h" |
16 #include "video_out.h" | 16 #include "video_out.h" |
17 #include "video_out_internal.h" | 17 #include "video_out_internal.h" |
18 #include "mp_msg.h" | 18 #include "mp_msg.h" |
19 #include "cfgparser.h" | 19 #include "m_option.h" |
20 #include "sub.h" | 20 #include "sub.h" |
21 | 21 |
22 #ifdef X11_FULLSCREEN | 22 #ifdef X11_FULLSCREEN |
23 #include "x11_common.h" | 23 #include "x11_common.h" |
24 #endif | 24 #endif |
73 static int ck_bmax = 0xFF; | 73 static int ck_bmax = 0xFF; |
74 static int ck_b = 0xFF; | 74 static int ck_b = 0xFF; |
75 static int cr_left = 0, cr_right = 0; | 75 static int cr_left = 0, cr_right = 0; |
76 static int cr_top = 55, cr_bot = 300; | 76 static int cr_top = 55, cr_bot = 300; |
77 | 77 |
78 config_t dxr2_opts[] = { | 78 m_option_t dxr2_opts[] = { |
79 { "overlay", &use_ol, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | 79 { "overlay", &use_ol, CONF_TYPE_FLAG, 0, 0, 1, NULL}, |
80 { "nooverlay", &use_ol, CONF_TYPE_FLAG, 0, 1, 0, NULL}, | 80 { "nooverlay", &use_ol, CONF_TYPE_FLAG, 0, 1, 0, NULL}, |
81 { "overlay-ratio", &ol_ratio, CONF_TYPE_INT, CONF_RANGE, 1, 2500, NULL }, | 81 { "overlay-ratio", &ol_ratio, CONF_TYPE_INT, CONF_RANGE, 1, 2500, NULL }, |
82 { "ucode", &ucode, CONF_TYPE_STRING,0, 0, 0, NULL}, | 82 { "ucode", &ucode, CONF_TYPE_STRING,0, 0, 0, NULL}, |
83 | 83 |