Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Video playback window may display a black “shadow” when close to the “Start” button


Symptoms

When playing video in a 3rd party application that uses the Microsoft Video Mixing Renderer 7 (VMR7) a shadow may appear on the video when the video is close to the Windows Start button and a mouse is hovering over the Start button. This only occurs when you disable the rich compositing feature of the Desktop Window Manager.

↑ Back to the top


Cause

When you hover over the start button it overlays a glow effect. The start button glow is not bound to the confines of the task bar. Because of this the translucent glow spills over onto any neighboring windows.

Applications that use the VMR7 use the graphics card’s overlay surface. When using the overlay surface the video is not actually composited onto a window by the operating system but is handled by the graphics hardware. The operating system does however need to let the graphics hardware know where to render the video. To do this a color key is specified. The color key that is used is R254, B255, G254. This key causes the background of the video render area to be a very dark shade of blue. It looks black to the naked eye but is really very dark blue. The graphics HW can then look for this shade of blue in the frame buffer and replace it with the video. 

When the translucent start button’s glow extends beyond the confines of the task bar it interacts with the colors of the background window. The operating system then attempts to blend the colors of the glow and the background window together. This causes the background color of the video window to change just enough to confuse the graphics HW. The area where the glow appears is no longer the expected dark blue and so the graphics hardware does not render video to this location. This causes the effect of a shadow or dark area around the Windows start button.

↑ Back to the top


Resolution

Enable rich compositing in Desktop Window Manager, use the Video Mixing Renderer 9, or use the Enhanced Video Renderer in your application.

↑ Back to the top


More Information

This behavior is by design.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2543412
Revision : 1
Created on : 1/7/2017
Published on : 5/6/2011
Exists online : False
Views : 669