mirror of
https://github.com/mpv-player/mpv
synced 2024-11-18 21:16:10 +01:00
1000L i forgot mencoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9596 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0b1a2cac98
commit
7ff65cb40a
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user