mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-30 02:58:24 +00:00
osxaudiosink: Prefer filter caps order while getting caps
https://bugzilla.gnome.org/show_bug.cgi?id=740987
This commit is contained in:
parent
f573f028d2
commit
db91486aa8
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ gst_osx_audio_sink_getcaps (GstBaseSink * sink, GstCaps * filter)
|
||||||
|
|
||||||
if (ret && filter) {
|
if (ret && filter) {
|
||||||
GstCaps *tmp;
|
GstCaps *tmp;
|
||||||
tmp = gst_caps_intersect_full (ret, filter, GST_CAPS_INTERSECT_FIRST);
|
tmp = gst_caps_intersect_full (filter, ret, GST_CAPS_INTERSECT_FIRST);
|
||||||
gst_caps_unref (ret);
|
gst_caps_unref (ret);
|
||||||
ret = tmp;
|
ret = tmp;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue