GNOME Bugzilla – Bug 542756
[playbin] Hangs in prerolling in several situations
Last modified: 2010-05-10 10:34:50 UTC
Hi, playbin currently hangs in prerolling in several situations which could all be triggered by the sample from bug #542646. a) If the caps on the pad are not a subset of the pad template caps. For this remove the check in gstmpeg2dec.c:631 and play the file from the above mentioned bug with playbin. It will simply stuck in prerolling (also mpeg2dec pushes no buffers because the file is corrupted, maybe that's part of the problem. OTOH EOS is sent). b) If the decoder element returns GST_FLOW_ERROR but no output is done yet... for this just play the file from the bug in playbin with current CVS of mpeg2dec. The error is properly returned but the pipeline stalls in prerolling.
Closing as it's unlikely that someone will fix something in playbin1/decodebin1... and the problem does not exist in playbin2/decodebin2.