opusdec: intersect with the filter before returning on getcaps
authorThiago Santos <thiagoss@osg.samsung.com>
Mon, 2 May 2016 17:21:55 +0000 (14:21 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Mon, 2 May 2016 17:29:25 +0000 (14:29 -0300)
commit60c765174f02a16eab0480c6c9971c3edfbeeed9
tree248298bd213cbcd646d5bd1227e334cb2e4ec22d
parent7a5797d3a62e47cd6cc7426dac843867445fc7d9
opusdec: intersect with the filter before returning on getcaps

So upstream gets a smaller set to decide upon as it is what it requested
with the filter

https://bugzilla.gnome.org/show_bug.cgi?id=765684
ext/opus/gstopusdec.c
tests/check/elements/opus.c