Closed Bug 881165 Opened 11 years ago Closed 5 years ago

Maybe we shouldn't try to use MFTEnumEx on Windowx Vista?

Categories

(Core :: Audio/Video: Playback, defect, P2)

x86_64
Windows Vista
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: cpearce, Assigned: cpearce)

References

Details

Oh D'oh, I used MFTEnumEx in the WMF backend, but that function isn't supposed to be available on Windows Vista. I totally don't understand how we could event start up WMF on Vista given that we should be aborting WMF startup if MFTEnumEx isn't found: http://mxr.mozilla.org/mozilla-central/source/content/media/wmf/WMFUtils.cpp#331
MFTEnumEx doesn't work on Windows Vista, as advertised by the MSDN documentation. The reason we're not failing to startup on Vista is because we're not calling MFTEnumEx. DisableBlockedDecoders(void) in WMFUtils.cpp calls MFGetPluginControl(), and only calls MFTEnumEx if the call to MFGetPluginControls() succeeds. Unfortunately MFGetPluginControls() isn't available on Windows Vista, it's only available on Windows 7. So the call to MFGetPluginControls() fails and we don't take the "disable blocked decoders" branch, and we continue initializing. I'm not sure what, if anything we can do here.
Component: Audio/Video → Audio/Video: Playback
Rank: 15
Priority: -- → P2

We no longer support Vista.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.