playbin2/playsink: Decide if A/V caps are raw only inside playsink
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 15 Mar 2011 11:51:04 +0000 (12:51 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 14 May 2011 09:42:32 +0000 (11:42 +0200)
commit105da803ade859fb299ed3c5265d6acdd168ca8f
treeaf4a16c6ad4f46f3bddd0f0100b5b08cd5521531
parent22dae31c2d1fd7a25de5b6c869e9a2d3302f9b5f
playbin2/playsink: Decide if A/V caps are raw only inside playsink

Before playbin2 would use different selectors for raw audio and
compressed audio (and the same for video) and used different
pads from playsink. This made the involved logic much more
complex and was not implemented completely in playsink, which
made it impossible to support files with a compressed and
uncompressed stream that is support by the sink.

playbin2 handles raw/non-raw streams the same now and the
decision is left to playsink, which now can also handle
caps changes from raw to non-raw and the other way around.

Fixes bug #632788.
gst/playback/gstplaybin2.c
gst/playback/gstplaysink.c
gst/playback/gstplaysink.h