diff libvo/vo_directx.c @ 9728:df23774c0468

10l: don't change image format during config
author faust3
date Sat, 29 Mar 2003 19:58:36 +0000
parents 38ab6f87fef4
children 3933e0ef000c
line wrap: on
line diff
--- a/libvo/vo_directx.c	Sat Mar 29 19:56:31 2003 +0000
+++ b/libvo/vo_directx.c	Sat Mar 29 19:58:36 2003 +0000
@@ -1100,7 +1100,8 @@
 	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)
 	{