mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-21 10:15:55 +08:00
-vop help, patch by Julian J. M. <bandit@telecable.es>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6082 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -338,3 +338,11 @@ void vf_uninit_filter_chain(vf_instance_t* vf){
|
||||
vf=next;
|
||||
}
|
||||
}
|
||||
|
||||
void vf_list_plugins(){
|
||||
int i=0;
|
||||
while(filter_list[i]){
|
||||
mp_msg(MSGT_VFILTER,MSGL_INFO,"\t%-10s: %s\n",filter_list[i]->name,filter_list[i]->info);
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,6 +74,8 @@ void vf_next_put_image(struct vf_instance_s* vf,mp_image_t *mpi);
|
||||
|
||||
vf_instance_t* append_filters(vf_instance_t* last);
|
||||
|
||||
void vf_list_plugins();
|
||||
|
||||
void vf_uninit_filter(vf_instance_t* vf);
|
||||
void vf_uninit_filter_chain(vf_instance_t* vf);
|
||||
|
||||
|
||||
@@ -601,6 +601,13 @@ int gui_no_filename=0;
|
||||
}
|
||||
#endif
|
||||
|
||||
if(vo_plugin_args && vo_plugin_args[0] && strcmp(vo_plugin_args[0],"help")==0){
|
||||
mp_msg(MSGT_CPLAYER, MSGL_INFO, "Available video output pluggins:\n");
|
||||
vf_list_plugins();
|
||||
printf("\n");
|
||||
exit(0);
|
||||
}
|
||||
|
||||
if(video_driver && strcmp(video_driver,"help")==0){
|
||||
mp_msg(MSGT_CPLAYER, MSGL_INFO, "Available video output drivers:\n");
|
||||
i=0;
|
||||
|
||||
Reference in New Issue
Block a user