mirror of
https://github.com/mpv-player/mpv
synced 2025-04-27 13:49:33 +00:00
don't call video->get_info if it's NULL
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5173 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
52ffa15256
commit
6cf05027f6
@ -187,6 +187,7 @@ int mpcodecs_config_vo(sh_video_t *sh, int w, int h, unsigned int preferred_outf
|
||||
}
|
||||
}
|
||||
|
||||
if(video_out->get_info)
|
||||
{ const vo_info_t *info = video_out->get_info();
|
||||
mp_msg(MSGT_CPLAYER,MSGL_INFO,"VO: [%s] %dx%d => %dx%d %s %s%s%s%s\n",info->short_name,
|
||||
sh->disp_w,sh->disp_h,
|
||||
|
Loading…
Reference in New Issue
Block a user