Closed GoogleCodeExporter closed 9 years ago
The Output Media Type is being specified by me, and always complete, so how
could it ever not contain a format?
Original comment by h.lepp...@gmail.com
on 26 Feb 2013 at 7:57
In fact I've found this place after I faced access violation in my application
when it try to work with LAV filters. After I compiled LAV filters I traced
whole path.
My app uses my variation of sample grabber filter based on CTransInPlaceFilter.
In its CInPin::GetMediaType method I return two partially specified media
types(only type and subtype set).
And when LAVVideo filter out pin connects to my grabber filter in pin it first
tries my media types and my partially specified media type appears in
m_pOutput->CurrentMediaType() in code in first post. Really.
Then I read this about GetMediaType method:
// used to help speed input pin connection times. We return a partially
// specified media type - only the main type is specified. If we return
// anything BUT a major type, some codecs written improperly will crash
After I stop specifying subtype here error gone.
But all this history show us that you can get partially specifyed media type in
this place, so it is better to check pointer I think.
Original comment by DavisRDa...@gmail.com
on 27 Feb 2013 at 8:20
This issue was closed by revision 045c141e03c0.
Original comment by h.lepp...@gmail.com
on 27 Feb 2013 at 6:32
Original issue reported on code.google.com by
DavisRDa...@gmail.com
on 26 Feb 2013 at 12:42