Author: reimar Date: Sat Aug 21 13:30:29 2010 New Revision: 32002 Log: Use vf_open_filter instead of vf_open_plugin+hacks. Modified: trunk/mencoder.c Modified: trunk/mencoder.c ============================================================================== --- trunk/mencoder.c Sat Aug 21 13:22:45 2010 (r32001) +++ trunk/mencoder.c Sat Aug 21 13:30:29 2010 (r32002) @@ -1030,10 +1030,8 @@ default: { break; } if (insert) { - extern const vf_info_t vf_info_ass; - static const vf_info_t * const libass_vfs[] = {&vf_info_ass, NULL}; char* vf_arg[] = {"auto", "1", NULL}; - vf_instance_t* vf_ass = vf_open_plugin(libass_vfs,sh_video->vfilter,"ass",vf_arg); + vf_instance_t* vf_ass = vf_open_filter(sh_video->vfilter,"ass",vf_arg); if (vf_ass) sh_video->vfilter=(void*)vf_ass; else
participants (1)
-
reimar