# HG changeset patch # User albeu # Date 1047754258 0 # Node ID 6bf482d797b19a72b737665fc50391d93d3e77cd # Parent a4b6e7caaa4be1396f7eb35a1521f0f760a96590 1000L i forgot mencoder diff -r a4b6e7caaa4b -r 6bf482d797b1 libmpcodecs/ve.c --- 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); } diff -r a4b6e7caaa4b -r 6bf482d797b1 mencoder.c --- 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");