Author: reimar Date: Sat Aug 21 13:33:33 2010 New Revision: 32003 Log: Use vf_open_filter, just like in the previous change for mencoder. Modified: trunk/mplayer.c Modified: trunk/mplayer.c ============================================================================== --- trunk/mplayer.c Sat Aug 21 13:30:29 2010 (r32002) +++ trunk/mplayer.c Sat Aug 21 13:33:33 2010 (r32003) @@ -2311,10 +2311,8 @@ int reinit_video_chain(void) { break; } if (insert) { - extern vf_info_t vf_info_ass; - const vf_info_t* 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