mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
jitterbuffer: handle EOS
When the queue is empty, and we received EOS, pause and push an EOS event downstream. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=706387
This commit is contained in:
parent
533f26fc99
commit
587dc055e9
1 changed files with 5 additions and 1 deletions
|
@ -2182,7 +2182,11 @@ again:
|
|||
wait:
|
||||
{
|
||||
GST_DEBUG_OBJECT (jitterbuffer, "no buffer, going to wait");
|
||||
return GST_FLOW_WAIT;
|
||||
if (priv->eos)
|
||||
result = GST_FLOW_EOS;
|
||||
else
|
||||
result = GST_FLOW_WAIT;
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue