gstreamer/gst-libs/gst
Mathieu Duponchelle 0c19ac0b47 audioaggregator: fix filtered getcaps
In the situation described in
https://bugzilla.gnome.org/show_bug.cgi?id=795397,

downstream_caps consists of two structures, the first with
the preferred rate, if at all possible (44100), the second
containing the full range of allowed rates, as audioresample
correctly tries to negotiate passthrough caps.

As audioaggregator cannot perform rate conversion, it wants
to return a fixated rate in its getcaps implementation,
however it previously directly used the first structure in
the caps allowed downstream, without taking the filter into
consideration, to determine the rate to fixate to.

With this, we first intersect our downstream caps with the
filter, in order not to fixate to an unsupported rate.
2018-04-23 17:21:42 +02:00
..
allocators allocators: GST_EXPORT -> GST_ALLOCATORS_API 2018-03-13 10:20:23 +00:00
app app: GST_EXPORT -> GST_APP_API 2018-03-13 10:29:55 +00:00
audio audioaggregator: fix filtered getcaps 2018-04-23 17:21:42 +02:00
fft fft: GST_EXPORT -> GST_FFT_API 2018-03-13 12:10:29 +00:00
gl gl/gbm: Initialize window handle (= gbm surface) like other window systems 2018-03-28 12:25:03 +01:00
pbutils audiovisualizer: Only fixate pixel-aspect-ratio if the field exists 2018-04-11 23:22:31 +01:00
riff riff: GST_EXPORT -> GST_RIFF_API 2018-03-13 12:16:42 +00:00
rtp rtp: GST_EXPORT -> GST_RTP_API 2018-03-13 12:16:42 +00:00
rtsp rtsp: GST_EXPORT -> GST_RTSP_API 2018-03-13 12:16:42 +00:00
sdp sdp: GST_EXPORT -> GST_SDP_API 2018-03-13 12:16:42 +00:00
tag tag: fix some GIR annotations 2018-04-16 11:07:53 +03:00
video video: Set correct value in g-i annotations for tile related mask constants 2018-03-25 12:33:08 +03:00
gettext.h Fix FSF address 2012-11-03 23:05:09 +00:00
glib-compat-private.h Fix FSF address 2012-11-03 23:05:09 +00:00
gst-i18n-app.h tools: add simple command-line gst-play utility for testing purposes 2013-08-16 15:45:23 +01:00
gst-i18n-plugin.h Fix FSF address 2012-11-03 23:05:09 +00:00
Makefile.am gl: hook up to build system 2017-12-19 12:01:48 +00:00
meson.build gl: hook up to build system 2017-12-19 12:01:48 +00:00