summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmpcodecs/ve.c3
-rw-r--r--mencoder.c5
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");