From: Arun Raghavan Date: Fri, 12 Dec 2014 12:40:35 +0000 (+0530) Subject: osxaudiosink: Prefer filter caps order while getting caps X-Git-Tag: 1.6.0~716 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db91486aa81ec3843354cd7a4bb0947898965225;p=platform%2Fupstream%2Fgst-plugins-good.git osxaudiosink: Prefer filter caps order while getting caps https://bugzilla.gnome.org/show_bug.cgi?id=740987 --- 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; }