[MOVED FROM GST-P-FARSIGHT] Don't return EOS if we have no pads

20080502190954-3e2dc-41351225e909e6d0837a6a60e187d33ab186ad76.gz
This commit is contained in:
Olivier Crete 2008-05-02 19:09:54 +00:00 committed by Edward Hervey
parent e23efd9e81
commit 8a2f376f04

View file

@ -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))