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

Roger Pack rogerdpack2 at gmail.com
Thu Oct 27 20:14:03 CEST 2011


On Sat, Aug 6, 2011 at 6:03 PM, Patrick Dinh <patrickdinh33 at yahoo.com> wrote:
> 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;

It fixed it! Thanks!  Hope it gets committed... :)
I did notice one other mention of "uncooperative" that might could use
the same patch, but didn't seem to need it.
Thanks!
-roger-


More information about the MPlayer-users mailing list