• Zebediah Figura's avatar
    quartz: Call EnumMatchingFilters() once in autoplug(). · e6cc4ae4
    Zebediah Figura authored
    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.
    e6cc4ae4
Name
Last commit
Last update
..
tests Loading commit data...
Makefile.in Loading commit data...
acmwrapper.c Loading commit data...
avidec.c Loading commit data...
control_tlb.idl Loading commit data...
dsoundrender.c Loading commit data...
filesource.c Loading commit data...
filtergraph.c Loading commit data...
filtermapper.c Loading commit data...
main.c Loading commit data...
memallocator.c Loading commit data...
passthrough.c Loading commit data...
quartz.rc Loading commit data...
quartz.rgs Loading commit data...
quartz.spec Loading commit data...
quartz_private.h Loading commit data...
quartz_strmif.idl Loading commit data...
regsvr.c Loading commit data...
systemclock.c Loading commit data...
videorenderer.c Loading commit data...
vmr9.c Loading commit data...
window.c Loading commit data...