1000L i forgot mencoder

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9596 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
albeu 2003-03-15 18:50:58 +00:00
parent 0b1a2cac98
commit 7ff65cb40a
2 changed files with 6 additions and 2 deletions

View File

@ -41,6 +41,7 @@ static vf_info_t* encoder_list[]={
}; };
vf_instance_t* vf_open_encoder(vf_instance_t* next, char *name, char *args){ 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);
} }

View File

@ -681,7 +681,10 @@ default:
mencoder_exit(1,NULL); mencoder_exit(1,NULL);
} }
// append 'expand' filter, it fixes stride problems and renders osd: // 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); sh_video->vfilter=append_filters(sh_video->vfilter);
mp_msg(MSGT_CPLAYER,MSGL_INFO,"==========================================================================\n"); mp_msg(MSGT_CPLAYER,MSGL_INFO,"==========================================================================\n");