The overlay image is distorted when DirectShow Video Renderer renders a media file on a Windows Embedded CE 6.0 R3-based device


Symptoms


Consider the following scenario:
  • You use a Windows Embedded CE 6.0 R3-based device that has an alignment requirement for the surface pitch.
  • The device uses DirectShow Video Renderer to render a media file.
  • The image width of the media file is smaller than the surface pitch and is not aligned with the surface.
In this scenario, the overlay image is distorted.

Cause


This issue occurs because the video renderer does not use the correct mechanism for the video decoder. Therefore, the decoder uses the image width incorrectly.

Note If the video renderer requires a surface pitch that is larger than the default image width, the video renderer changes the proposed media type by setting the following values:
  • Sets the biWidth member of the BITMAPINFOHEADER structure to the surface pitch in pixels.
  • Sets the rcTarget member of the VIDEOINFOHEADER or VIDEOINFOHEADER2 structure to the image dimension in pixels.

Resolution


Software update information

A supported software update is now available from Microsoft as Windows Embedded CE 6.0 Platform Builder Monthly Update (November 2010). You can confirm this by scrolling to the "File information" section. The package file name contains the product version, date, Knowledge Base article number, and processor type. The package file name format is as follows:
Product version-yymmdd-kbnnnnnn-processor type
For example: Wincepb50-060503-kb917590-armv4i.msi is the ARMV4i Windows CE 5.0 Platform Builder fix that is documented in KB article 917590 and that is contained in the May 2006 monthly update. To resolve this problem immediately, click the following article number for information about how to obtain Windows CE Platform Builder and core operating system software updates:
837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

Prerequisites

This software update is supported only if all previously issued software updates for this product have also been applied.

Restart requirement

After you install this software update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
  • On the Build menu, click Clean Solution, and then click Build Solution.
  • On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.

Update replacement information

This update does not replace any updates. 

File information

The English version of this software update package has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Installer files
File nameFile sizeDateTime
Wincepb60-101130-kb2465624-armv4i.msi1,031,68002-Dec-201022:33
Wincepb60-101130-kb2465624-mipsii.msi1,011,20002-Dec-201022:33
Wincepb60-101130-kb2465624-mipsii_fp.msi1,010,17602-Dec-201022:33
Wincepb60-101130-kb2465624-mipsiv.msi1,015,80802-Dec-201022:33
Wincepb60-101130-kb2465624-mipsiv_fp.msi1,015,29602-Dec-201022:33
Wincepb60-101130-kb2465624-sh4.msi1,003,52002-Dec-201022:33
Wincepb60-101130-kb2465624-x86.msi949,76002-Dec-201022:33
Files that are included in this hotfix package
File nameFile sizeDateTimePath
Windows embedded ce 6.0_update_kb2465624.htm7,63002-Dec-201020:08101130_kb2465624
Image.lib1,080,97430-Nov-201022:14Public\Directx\Oak\Lib\Armv4i\Debug
Image.lib644,11830-Nov-201022:12Public\Directx\Oak\Lib\Armv4i\Retail
Image.lib1,040,46430-Nov-201022:20Public\Directx\Oak\Lib\Mipsii\Debug
Image.lib624,83430-Nov-201022:17Public\Directx\Oak\Lib\Mipsii\Retail
Image.lib1,040,63830-Nov-201022:26Public\Directx\Oak\Lib\Mipsii_fp\Debug
Image.lib625,04230-Nov-201022:23Public\Directx\Oak\Lib\Mipsii_fp\Retail
Image.lib1,055,23230-Nov-201022:32Public\Directx\Oak\Lib\Mipsiv\Debug
Image.lib631,32630-Nov-201022:29Public\Directx\Oak\Lib\Mipsiv\Retail
Image.lib1,055,22430-Nov-201022:38Public\Directx\Oak\Lib\Mipsiv_fp\Debug
Image.lib631,32630-Nov-201022:35Public\Directx\Oak\Lib\Mipsiv_fp\Retail
Image.lib936,34230-Nov-201022:44Public\Directx\Oak\Lib\Sh4\Debug
Image.lib583,26030-Nov-201022:41Public\Directx\Oak\Lib\Sh4\Retail
Image.lib879,94230-Nov-201022:08Public\Directx\Oak\Lib\X86\Debug
Image.lib554,21830-Nov-201022:06Public\Directx\Oak\Lib\X86\Retail

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information


For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates