mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
[MOVED FROM GST-P-FARSIGHT] Don't return EOS if we have no pads
20080502190954-3e2dc-41351225e909e6d0837a6a60e187d33ab186ad76.gz
This commit is contained in:
parent
e23efd9e81
commit
8a2f376f04
1 changed files with 4 additions and 0 deletions
|
@ -1020,6 +1020,10 @@ check_eos_locked (GstLiveAdder *adder)
|
|||
{
|
||||
GList *item;
|
||||
|
||||
/* We can't be EOS if we have no sinkpads */
|
||||
if (adder->sinkpads == NULL)
|
||||
return FALSE;
|
||||
|
||||
for (item = adder->sinkpads;
|
||||
item;
|
||||
item = g_list_next (item))
|
||||
|
|
Loading…
Reference in a new issue