Mercurial > mplayer.hg
changeset 9595:6bf482d797b1
1000L i forgot mencoder
author | albeu |
---|---|
date | Sat, 15 Mar 2003 18:50:58 +0000 |
parents | a4b6e7caaa4b |
children | 7b4a17c415fb |
files | libmpcodecs/ve.c mencoder.c |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ve.c Sat Mar 15 18:49:33 2003 +0000 +++ b/libmpcodecs/ve.c Sat Mar 15 18:50:58 2003 +0000 @@ -41,6 +41,7 @@ }; vf_instance_t* vf_open_encoder(vf_instance_t* next, char *name, char *args){ - return vf_open_plugin(encoder_list,next,name,args); + char* vf_args[] = { "_oldargs_", args, NULL }; + return vf_open_plugin(encoder_list,next,name,vf_args); }
--- a/mencoder.c Sat Mar 15 18:49:33 2003 +0000 +++ b/mencoder.c Sat Mar 15 18:50:58 2003 +0000 @@ -681,7 +681,10 @@ mencoder_exit(1,NULL); } // append 'expand' filter, it fixes stride problems and renders osd: - if (auto_expand) sh_video->vfilter=vf_open_filter(sh_video->vfilter,"expand","-1:-1:-1:-1:1"); + if (auto_expand) { + char* vf_args[] = { "osd", "1", NULL }; + sh_video->vfilter=vf_open_filter(sh_video->vfilter,"expand",vf_args); + } sh_video->vfilter=append_filters(sh_video->vfilter); mp_msg(MSGT_CPLAYER,MSGL_INFO,"==========================================================================\n");