diff libmpcodecs/vf.c @ 21430:597505748535

Remove long-deprecated -vop option.
author diego
date Sat, 02 Dec 2006 17:32:53 +0000
parents 059b4a6b78cf
children 3d83d77f5a6b
line wrap: on
line diff
--- 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++;
-    }
-}