You install a video card that supports DirectX Video Acceleration (DXVA) for H.264/AVC decoding. You install an application that relies on Microsoft Media Foundation to edit a video. When you try to decode the video, the CPU is used to decode the video instead of the Graphics Processing Unit (GPU). Therefore, you experience decreased performance when you use this application.
In the asynchronous mode of Media Foundation source reader, you call the IMFSourceReader::Flush method. Then, you receive an error code of MF_E_INVALIDREQUEST for one of the following two methods: SetCurrentPosition and SetCurrentMediaType. Therefore, you cannot seek to a new position in the media source or you cannot change the media type for a stream.
Note The error code of MF_E_INVALIDREQUEST indicates that the call to the IMFSourceReader::SetCurrentPosition or IMFSourceReader::SetCurrentMediaType cannot be completed in the current state because there are outstanding sample requests that are still being processed.
If a Media Foundation transform is registered for transcode purposes only, a media application using the Media Foundation source reader cannot use the Media Foundation transform.
Note To register a Media Foundation transform for transcode purposes only, you can set the MFT_ENUM_FLAG_TRANSCODE_ONLY flag for the Media Foundation transform.
Cause of Issue 1
This issue occurs because the source reader queries an incorrect interface of the decoder to detect whether the DXVA for H.264/AVC decoding is supported or not. Therefore, this causes the source reader to use only CPU decoding.
Cause of Issue 2
This issue occurs because the IMFSourceReaderCallback::OnFlush method is called too early when one or more sample requests are being processed after the IMFSourceReader::Flush method is called.
Cause of Issue 3
This issue occurs because when the MFT_ENUM_FLAG_TRANSCODE_ONLY flag is set for a Media Foundation transform, the source reader and the sink writer cannot use the Media Foundation transform.
How to obtain this update
The following files are available for download from the MicrosoftDownload Center:
For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
To apply this update, you must be running Windows 7.
You may have to restart the computer after you apply this update.
Update replacement information
This update does not replace a previously released update.
The global version of this update installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows 7 file information notes
The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows 7" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintaining the state of the updated component. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows 7
For all supported x64-based versions of Windows 7
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about Media Foundation Architecture, visit the following Microsoft Developer Network (MSDN) Web site: