changeset 7713:32878695ca8b

more correct flags
author faust3
date Fri, 11 Oct 2002 14:48:07 +0000
parents 358ac15da69a
children 6973a985ac2a
files libvo/vo_directx.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_directx.c	Fri Oct 11 10:08:11 2002 +0000
+++ b/libvo/vo_directx.c	Fri Oct 11 14:48:07 2002 +0000
@@ -249,7 +249,7 @@
 	      case DDERR_INVALIDPARAMS:
 		     {mp_msg(MSGT_VO, MSGL_ERR,"invalid parameters\n");break;}
 	      case DDERR_INVALIDPIXELFORMAT:
-		     {mp_msg(MSGT_VO, MSGL_ERR,"invalid pixelformat\n");break;}
+		     {mp_msg(MSGT_VO, MSGL_ERR,"invalid pixelformat: %s\n",g_ddpf[i].img_format_name);break;}
 	      case DDERR_NODIRECTDRAWHW:
 		     {mp_msg(MSGT_VO, MSGL_ERR,"no directdraw hardware\n");break;}
 	      case DDERR_NOEMULATION:
@@ -815,7 +815,7 @@
            if (g_ddpf[i].g_ddpfOverlay.dwRBitMask == ddpf.dwRBitMask)
 		   {
 			   mp_msg(MSGT_VO, MSGL_V ,"<vo_directx><FORMAT PRIMARY>%i %s supported\n",i,g_ddpf[i].img_format_name);
-			   g_ddpf[i].drv_caps = VFCAP_CSP_SUPPORTED |VFCAP_OSD |VFCAP_CSP_SUPPORTED_BY_HW;
+			   g_ddpf[i].drv_caps = VFCAP_CSP_SUPPORTED |VFCAP_OSD;
 			   formatcount++;
 		   }
 	   }