24 Apr
2020
24 Apr
'20
11:24 a.m.
On 23/04/2020 22:51, Zebediah Figura wrote:
On 4/21/20 7:19 AM, Gabriel Ivăncescu wrote:
Signed-off-by: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> ---
The IFileSourceFilter is not queried for filters placed via put_Filter, so obtain the media type from the first pin to use for finding a matching splitter.
The async reader (at least) exposes the same (first) media type from the source as through IFileSourceFilter::GetCurFile(), so it seems to me we could simplify by using this path for all filters.
But Windows doesn't query it, though, that's why I wrote that comment. It's not obvious now, because I've converted it to strmbase, but I had a test for that before. This might break custom installed filters who don't expose it (not Wine's own).