From db91486aa81ec3843354cd7a4bb0947898965225 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Fri, 12 Dec 2014 18:10:35 +0530 Subject: [PATCH] osxaudiosink: Prefer filter caps order while getting caps https://bugzilla.gnome.org/show_bug.cgi?id=740987 --- sys/osxaudio/gstosxaudiosink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/osxaudio/gstosxaudiosink.c b/sys/osxaudio/gstosxaudiosink.c index 8299800..3b1e5a4 100644 --- a/sys/osxaudio/gstosxaudiosink.c +++ b/sys/osxaudio/gstosxaudiosink.c @@ -391,7 +391,7 @@ gst_osx_audio_sink_getcaps (GstBaseSink * sink, GstCaps * filter) if (ret && filter) { 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); ret = tmp; } -- 2.7.4