gstreamer/subprojects/gst-plugins-base/ext
Sebastian Dröge 37f219bd57 opusdec: Try harder to negotiate the upstream channels/rate preferences
It might be possible to fulfill those but not with the first caps
structure. Instead of just fixating the first caps structure, check if
the preference can be fulfilled by any of the structures as the first
step.

Without this the following pipeline negotiates to mono after the
decoder because opusenc only has a single channel in its first caps
structure.

    gst-launch-1.0 audiotestsrc ! audio/x-raw,channels=2 ! opusenc \
        ! queue ! opusdec ! queue ! opusenc ! fakesink

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3689>
2023-01-05 17:59:41 +02:00
..
alsa meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
cdparanoia cdparanoia: Ignore compiler warning coming from the cdparanoia header 2022-10-19 08:18:45 +00:00
gl glvideomixer: override sink pad template 2022-12-14 12:50:36 +00:00
libvisual meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
ogg oggdemux: Don't leak pending seek event 2022-11-21 19:02:44 +00:00
opus opusdec: Try harder to negotiate the upstream channels/rate preferences 2023-01-05 17:59:41 +02:00
pango timeoverlay: fix pad leak 2022-12-11 23:54:50 +00:00
theora meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
vorbis meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
meson.build