diff options
-rw-r--r-- | gst/liveadder/liveadder.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/liveadder/liveadder.c b/gst/liveadder/liveadder.c index 6f9d9cd2..4dd96d9f 100644 --- a/gst/liveadder/liveadder.c +++ b/gst/liveadder/liveadder.c @@ -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)) |