playbin: use subset check instead of intersect
authorThiago Santos <thiagoss@osg.samsung.com>
Tue, 12 Jan 2016 14:31:50 +0000 (11:31 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Wed, 13 Jan 2016 18:29:17 +0000 (15:29 -0300)
commit81c52aaa1695cd1d0ca9004aa668b9ed85db2da9
tree3edbc097e7f01fd9349f09103e335f0a63abb40b
parent1b412a523d1ed950a1822ae4a01c8ce8aa29b34f
playbin: use subset check instead of intersect

Elements usually require that all fields on their caps are present
on the fixed caps they receive. Using intersection won't verify it,
resort to using is_subset() checks.

https://bugzilla.gnome.org/show_bug.cgi?id=760477
gst/playback/gstplaybin2.c