Mercurial > mplayer.hg
changeset 31921:c406383caa61
Use vf_open_filter instead of vf_open_plugin+hacks.
author | reimar |
---|---|
date | Sat, 21 Aug 2010 11:30:29 +0000 |
parents | ff8a2ac939ad |
children | 4ed75340d779 |
files | mencoder.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mencoder.c Sat Aug 21 11:22:45 2010 +0000 +++ b/mencoder.c Sat Aug 21 11:30:29 2010 +0000 @@ -1030,10 +1030,8 @@ 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