Skip to content

audioenc/dec: Preserve downstream caps preference in get caps

Olivier Crête requested to merge ocrete/gstreamer:audio-encoder-nego into main

This should fix pipelines such as this one to work as expected

  ... ! opusenc ! capsfilter caps='audio/x-opus, channels=1; audio/x-opus, channels=2' ! ...

The expectation is that the encoder will propose the first structure before the second one to the source.

Merge request reports