1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-23 23:56:20 +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:
arpi 2002-03-18 01:47:47 +00:00
parent 52ffa15256
commit 6cf05027f6

View File

@ -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(); { 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, 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, sh->disp_w,sh->disp_h,