[MPlayer-cvslog] r32003 - trunk/mplayer.c

reimar subversion at mplayerhq.hu
Sat Aug 21 13:33:34 CEST 2010


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


More information about the MPlayer-cvslog mailing list