• Mathieu Duponchelle's avatar
    audioaggregator: always use downstream's rate requirements · 00bd92bd
    Mathieu Duponchelle authored
    We were previously only fixating the rate in the getcaps
    implementation when downstream was requiring a discrete value,
    causing negotiation to fail when upstream was capable of rate
    conversion, but not made aware that it had to occur.
    
    Instead of fixating the rate, we can simply update our sink
    template caps with whatever GValue the downstream caps are holding
    as their rate field.
    
    Allows negotiation to successfully complete with pipelines such as:
    
    audiotestsrc ! audio/x-raw, rate=48000 ! audioresample ! audiomixer name=m ! \
    audio/x-raw, rate={800, 1000} ! autoaudiosink \
    audiotestsrc ! audio/x-raw, rate=44100 ! audioresample ! m.
    00bd92bd
Name
Last commit
Last update
common @ 59cb6781 Loading commit data...
docs Loading commit data...
ext Loading commit data...
gst Loading commit data...
gst-libs Loading commit data...
hooks Loading commit data...
m4 Loading commit data...
pkgconfig Loading commit data...
po Loading commit data...
subprojects Loading commit data...
sys Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.static-linking Loading commit data...
RELEASE Loading commit data...
REQUIREMENTS Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
gst-plugins-base.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...