mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
decodebin2: fire drained signal where appropriate
This will allow playbin2 to send its about-to-finish signal. Taken out (apparently by mistake) by the EOS rewrite in july. https://bugzilla.gnome.org/show_bug.cgi?id=661202
This commit is contained in:
parent
26e1c2d628
commit
5e9862b2ba
1 changed files with 3 additions and 0 deletions
|
@ -3165,6 +3165,9 @@ beach:
|
|||
GST_DEBUG ("Chain %p (handled:%d, last_group:%d, drained:%d, switched:%d)",
|
||||
chain, handled, *last_group, *drained, *switched);
|
||||
|
||||
if (*drained)
|
||||
g_signal_emit (dbin, gst_decode_bin_signals[SIGNAL_DRAINED], 0, NULL);
|
||||
|
||||
return handled;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue