10l: don't change image format during config

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9729 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2003-03-29 19:58:36 +00:00
parent 63dd151a4c
commit 41d566f093
1 changed files with 2 additions and 1 deletions

View File

@ -1100,7 +1100,8 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin
if (!nooverlay && Directx_CreateOverlay(image_format))
{
nooverlay=1; /*overlay creation failed*/
mp_msg(MSGT_VO, MSGL_V,"<vo_directx><WARN>can't use overlay mode => switching to nonoverlay\n");
mp_msg(MSGT_VO, MSGL_FATAL,"<vo_directx><FATAL ERROR>can't use overlay mode: please use -vo directx:noaccel\n");
return 1;
}
if(nooverlay)
{