From 7ff65cb40a6f784ed5349f8fe6039a90b9027160 Mon Sep 17 00:00:00 2001 From: albeu Date: Sat, 15 Mar 2003 18:50:58 +0000 Subject: [PATCH] 1000L i forgot mencoder git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9596 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/ve.c | 3 ++- mencoder.c | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libmpcodecs/ve.c b/libmpcodecs/ve.c index 73dbcbf149..6c950f6ac8 100644 --- a/libmpcodecs/ve.c +++ b/libmpcodecs/ve.c @@ -41,6 +41,7 @@ static vf_info_t* encoder_list[]={ }; 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 --git a/mencoder.c b/mencoder.c index 1f1b4eeb7d..01ef13ba66 100644 --- a/mencoder.c +++ b/mencoder.c @@ -681,7 +681,10 @@ default: 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");