# HG changeset patch # User reimar # Date 1282390413 0 # Node ID 4ed75340d779922387ecd80798d070bf4fbcf328 # Parent c406383caa61d36a41734ff2674584246dc8ea8d Use vf_open_filter, just like in the previous change for mencoder. diff -r c406383caa61 -r 4ed75340d779 mplayer.c --- a/mplayer.c Sat Aug 21 11:30:29 2010 +0000 +++ b/mplayer.c Sat Aug 21 11:33:33 2010 +0000 @@ -2311,10 +2311,8 @@ 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