changeset 31922:4ed75340d779

Use vf_open_filter, just like in the previous change for mencoder.
author reimar
date Sat, 21 Aug 2010 11:33:33 +0000
parents c406383caa61
children 8c6e90c5fcc4
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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