diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-23 17:21:01 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-23 17:21:01 +0000 |
commit | f9e3a4bf886ebfd865e6ffba7edc9c0a6f114b42 (patch) | |
tree | 8db9d460c3bea1a734a69a2740f25de72310c2d0 /libvo/vo_dxr2.c | |
parent | a2dfc7a766c2f00408671327838602eebcc4cddf (diff) | |
download | mpv-f9e3a4bf886ebfd865e6ffba7edc9c0a6f114b42.tar.bz2 mpv-f9e3a4bf886ebfd865e6ffba7edc9c0a6f114b42.tar.xz |
cleanup config option handling in libmpdemux.
removed overcompilacted m_config_register_options() mess - export the
subconfig structs instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7868 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_dxr2.c')
-rw-r--r-- | libvo/vo_dxr2.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/libvo/vo_dxr2.c b/libvo/vo_dxr2.c index 535501865e..933e6fcfe4 100644 --- a/libvo/vo_dxr2.c +++ b/libvo/vo_dxr2.c @@ -61,7 +61,7 @@ static int mute_mode = DXR2_AUDIO_MUTE_OFF; static int ignore_cache = 0; static int update_cache = 0; -static config_t dxr2_opts[] = { +config_t dxr2_opts[] = { { "overlay", &use_ol, CONF_TYPE_FLAG, 0, 0, 1, NULL}, { "nooverlay", &use_ol, CONF_TYPE_FLAG, 0, 1, 0, NULL}, { "overlay-ratio", &ol_ratio, CONF_TYPE_INT, CONF_RANGE, 1, 2500, NULL }, @@ -96,15 +96,6 @@ static config_t dxr2_opts[] = { { NULL,NULL, 0, 0, 0, 0, NULL} }; -static config_t dxr2_opt[] = { - { "dxr2", &dxr2_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, - { NULL,NULL, 0, 0, 0, 0, NULL} -}; - -void vo_dxr2_register_options(m_config_t* cfg) { - m_config_register_options(cfg,dxr2_opt); -} - static vo_info_t vo_info = { "DXR2 video out", "dxr2", |