playsink: Don't fail if there are subtitles and audio but no video
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 23 Feb 2010 18:12:40 +0000 (19:12 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 9 Mar 2010 21:01:38 +0000 (21:01 +0000)
commit71ca26fc7f6ebe3a68b8be5967065d78a268d3b6
treeda2a6bbc8204d0c44f560623232fabea08c88052
parent5d0957525a7b0148c3f76e980bb0364d6ddb992b
playsink: Don't fail if there are subtitles and audio but no video

Change playbin2 to not error out if there are subtitles and audio
but no video. If visualizations are enabled the subtitles are rendered on top
of the visualization stream, otherwise the subtitles are not linked at all and
only the audio is played (and a warning message is posted).

If there are only subtitles but neither audio nor video an error message is
still posted.

Fixes bug #610866.
gst/playback/gstplaysink.c