Mercurial > mplayer.hg
changeset 21430:597505748535
Remove long-deprecated -vop option.
author | diego |
---|---|
date | Sat, 02 Dec 2006 17:32:53 +0000 |
parents | d4cb537b3414 |
children | a8e1337ae9db |
files | ChangeLog DOCS/man/en/mplayer.1 cfg-common.h libmpcodecs/vf.c libmpcodecs/vf.h |
diffstat | 5 files changed, 2 insertions(+), 29 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sat Dec 02 17:29:56 2006 +0000 +++ b/ChangeLog Sat Dec 02 17:32:53 2006 +0000 @@ -42,6 +42,7 @@ * libdvdcss updated to Subversion HEAD, now same as upstream version * libmpdvdkit split into libdvdread and libdvdcss * obsolete XviD 3 support removed + * long-deprecated -vop option removed * video stream switching
--- a/DOCS/man/en/mplayer.1 Sat Dec 02 17:29:56 2006 +0000 +++ b/DOCS/man/en/mplayer.1 Sat Dec 02 17:32:53 2006 +0000 @@ -4888,13 +4888,6 @@ .TP .B \-vf <filter1[=parameter1:parameter2:...],filter2,...> Setup a chain of video filters. -. -.TP -.B \-vop <...,filter2[=parameter1:parameter2:...],filter1> (OBSOLETE) -Setup a chain of video filters, to be applied in -.B reverse -order. -Deprecated in favor of \-vf. .PP Many parameters are optional and set to default values if omitted. To explicitly use a default value set a parameter to '-1'.
--- a/cfg-common.h Sat Dec 02 17:29:56 2006 +0000 +++ b/cfg-common.h Sat Dec 02 17:32:53 2006 +0000 @@ -197,7 +197,7 @@ {"af-adv", audio_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, {"af", &af_cfg.list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL}, - {"vop*", &vo_plugin_args, CONF_TYPE_OBJ_SETTINGS_LIST, 0, 0, 0,&vf_obj_list }, + {"vop", "-vop has been removed, use -vf instead.\n", CONF_TYPE_PRINT, CONF_NOCFG ,0,0, NULL}, {"vf*", &vf_settings, CONF_TYPE_OBJ_SETTINGS_LIST, 0, 0, 0, &vf_obj_list}, // select audio/video codec (by name) or codec family (by number): // {"afm", &audio_family, CONF_TYPE_INT, CONF_MIN, 0, 22, NULL}, // keep ranges in sync @@ -555,8 +555,6 @@ {"type", &mf_type, CONF_TYPE_STRING, 0, 0, 0, NULL}, {NULL, NULL, 0, 0, 0, 0, NULL} }; - -extern m_obj_settings_t* vo_plugin_args; #include "libaf/af.h" extern af_cfg_t af_cfg; // Audio filter configuration, defined in libmpcodecs/dec_audio.c
--- a/libmpcodecs/vf.c Sat Dec 02 17:29:56 2006 +0000 +++ b/libmpcodecs/vf.c Sat Dec 02 17:32:53 2006 +0000 @@ -200,8 +200,6 @@ // For the vf option m_obj_settings_t* vf_settings = NULL; -// For the vop option -m_obj_settings_t* vo_plugin_args = NULL; m_obj_list_t vf_obj_list = { (void**)filter_list, M_ST_OFF(vf_info_t,name), @@ -699,7 +697,6 @@ vf_instance_t* vf; int i; - // -vf take precedence over -vop if(vf_settings) { // We want to add them in the 'right order' for(i = 0 ; vf_settings[i].name ; i++) @@ -709,12 +706,6 @@ vf = vf_open_filter(last,vf_settings[i].name,vf_settings[i].attribs); if(vf) last=vf; } - } else if(vo_plugin_args) { - for(i = 0 ; vo_plugin_args[i].name ; i++) { - vf = vf_open_filter(last,vo_plugin_args[i].name, - vo_plugin_args[i].attribs); - if(vf) last=vf; - } } return last; } @@ -737,11 +728,3 @@ vf=next; } } - -void vf_list_plugins(void){ - int i=0; - while(filter_list[i]){ - mp_msg(MSGT_VFILTER,MSGL_INFO,"\t%-10s: %s\n",filter_list[i]->name,filter_list[i]->info); - i++; - } -}
--- a/libmpcodecs/vf.h Sat Dec 02 17:29:56 2006 +0000 +++ b/libmpcodecs/vf.h Sat Dec 02 17:32:53 2006 +0000 @@ -114,8 +114,6 @@ vf_instance_t* append_filters(vf_instance_t* last); -void vf_list_plugins(void); - void vf_uninit_filter(vf_instance_t* vf); void vf_uninit_filter_chain(vf_instance_t* vf);