Revert "decodebin: Only emit the drain signal for the main decode chain, not any subchains"

This reverts commit a391dfe17f.

It breaks gapless playback: https://bugzilla.gnome.org/show_bug.cgi?id=740045
This commit is contained in:
Sebastian Dröge 2014-12-15 09:45:43 +01:00
parent 4713694082
commit 6521870077

View file

@ -3788,7 +3788,7 @@ beach:
*drained = chain->drained; *drained = chain->drained;
if (*drained && chain == dbin->decode_chain) if (*drained)
g_signal_emit (dbin, gst_decode_bin_signals[SIGNAL_DRAINED], 0, NULL); g_signal_emit (dbin, gst_decode_bin_signals[SIGNAL_DRAINED], 0, NULL);
return handled; return handled;