mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 19:49:50 +00:00
e6cc4ae4b4
Instead of iterating through types one by one and calling EnumMatchingFilters() on each one, build a list of all media types exposed by the pin and call the function once. This avoids trying to pointless autoplug the same filter multiple times, which speeds up autoplugging greatly for cases when a given filter connects less than instantaneously. The most prominent example of such a filter is the AVI decompressor, which has to call ICLocate() on connection. ICLocate() is not a fast API on Wine, and it is even slower on Windows; this reduces the number of times we try to call it greatly. |
||
---|---|---|
.. | ||
tests | ||
acmwrapper.c | ||
avidec.c | ||
control_tlb.idl | ||
dsoundrender.c | ||
filesource.c | ||
filtergraph.c | ||
filtermapper.c | ||
main.c | ||
Makefile.in | ||
memallocator.c | ||
passthrough.c | ||
quartz.rc | ||
quartz.rgs | ||
quartz.spec | ||
quartz_private.h | ||
quartz_strmif.idl | ||
regsvr.c | ||
systemclock.c | ||
videorenderer.c | ||
vmr9.c | ||
window.c |