Bob
2008-07-17 07:41:01 UTC
I have an issue supporting both of these. My filter enumerates 2 media types,
one with each of the different structures. The VIDEOINFOHEADER2 is first, so
the downstream filters can make use of pixel aspect ratio and interlacing
information when possible.
This works when the downstream filter supports VIH2. However, if the
downstream filter doesn't accept VIH2, RenderStream fails, seemingly without
ever trying VIH. If I put the VIH media type first, it succeeds. But then if
my down stream filter supports both VIH and VIH2, it uses VIH instead and
can't use the pixel aspect/interlacing information.
How do I fix this?
one with each of the different structures. The VIDEOINFOHEADER2 is first, so
the downstream filters can make use of pixel aspect ratio and interlacing
information when possible.
This works when the downstream filter supports VIH2. However, if the
downstream filter doesn't accept VIH2, RenderStream fails, seemingly without
ever trying VIH. If I put the VIH media type first, it succeeds. But then if
my down stream filter supports both VIH and VIH2, it uses VIH instead and
can't use the pixel aspect/interlacing information.
How do I fix this?