playsink: fix caps negotiation through the new convenience bins
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 6 Oct 2011 14:38:49 +0000 (15:38 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 6 Oct 2011 18:43:43 +0000 (20:43 +0200)
commit8d617f403769f4f2519de72c3d7e267ee850b123
tree79de5b43cfa3e6b7886c1dc7faf93b1cedc4b3b5
parent76b29367e7b13cc1751724cb2678ebd9039678e1
playsink: fix caps negotiation through the new convenience bins

The bins' getcaps was bypassing the inner elements, and thus
failing to account for the caps transformations they allow,
which caused YUV video pipelines to fail with ximagesink, which
does not support YUV, even though the convenience bin includes
a colorspace converter for just this purpose.

https://bugzilla.gnome.org/show_bug.cgi?id=660816
gst/playback/gstplaysinkaudioconvert.c
gst/playback/gstplaysinkvideoconvert.c