• 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
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...