Ticket #1950: vo_directx_minimize_fix.patch

File vo_directx_minimize_fix.patch, 423 bytes (added by patrickdinh33@…, 15 years ago)

patch to fix vo_directx minimize crash

  • libvo/vo_directx.c

     
    488488    rd.right=rd.left+width;
    489489    rd.bottom=rd.top+height;
    490490
     491    if(!width || !height){
     492         /*window is minimized*/
     493         return 0;
     494    }
     495
    491496        /*ok, let's workaround some overlay limitations*/
    492497        if(!nooverlay)
    493498        {