[MPlayer-users] windows direct3d if minimized -> crash report

Patrick Dinh patrickdinh33 at yahoo.com
Sun Aug 7 02:03:08 CEST 2011


see if this patch fixes the crash...


Index: libvo/vo_direct3d.c
===================================================================
--- libvo/vo_direct3d.c    (revision 33953)
+++ libvo/vo_direct3d.c    (working copy)
@@ -1029,7 +1029,7 @@
 static void draw_osd(void)
 {
     // we can not render OSD if we lost the device e.g. because it was uncooperative
-    if (!priv->d3d_device)
+    if (!priv->d3d_device || !priv->d3d_texture_osd)
         return;
 
     if (vo_osd_changed(0)) {


More information about the MPlayer-users mailing list