decodebin2: error when all streams have no buffers
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 19 Nov 2009 17:51:33 +0000 (14:51 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 19 Nov 2009 17:51:33 +0000 (14:51 -0300)
commit0d6195686b07088e02bc861fdc6f4172e020e3dd
tree0a3811ff5203b5365fedcf4abc347787fc221d8c
parent7e5d6ed4412361c721aef456a28c63093375eee2
decodebin2: error when all streams have no buffers

In some cases (all buffers dropped by a parser) a decodebin2
chain might receive an EOS before it gets enough data to
expose a decoded pad. In the case that no streams can expose
a pad we should error out instead of hang.

Fixes #542758
gst/playback/gstdecodebin2.c