CheckOutputTypes
(1)
GetOutputTypes
(1)
DirectShow
(1)
FourCC
(1)
Roey
(1)
VIDEOINFOHEADER
(1)
Riseoftheants
(1)
Mediasubtype
(1)

Custom DMO getting error "The output media format is invalid" in W

Asked By Roeyaus
19-Nov-09 03:20 AM
Hi All
I am writing a DMO that accepts data from a custom encoded ASF file and
outputs it to the WMP renderer as bitmaps.

Input mediasubtype is a custom one (has its own GUID and fourCC)
Output mediasubtype is RGB32 . (reflected in the CheckOutputTypes and
GetOutputTypes functions).


However when I try to play the custom asf file in WMP I get : "The output
media format is invalid."

it is funny that the output media format should be invalid, because the input
is the custom one...

What causes this and what should I check?

Thanks a bunch
Roey

From: "Roeyaus"Your DMO_MEDIA_TYPE or VIDEOINFOHEADER may have been filledin

Alessandro Angeli replied to Roeyaus
19-Nov-09 12:45 PM
From: "Roeyaus"


Your DMO_MEDIA_TYPE or VIDEOINFOHEADER may have been filled
in incorrectly. Post a readable dump of the whole structures
(hex is *not* a readable dump).

--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm
Post Question To EggHeadCafe