composition: Forward flushes on initialization

This commit is contained in:
Mathieu Duponchelle 2014-07-21 16:54:46 +02:00 committed by Thibault Saunier
parent 494303c263
commit 5c1b2133a5

View file

@ -260,7 +260,8 @@ static inline gboolean
_have_to_flush_downstream (GnlUpdateStackReason update_reason)
{
if (update_reason == COMP_UPDATE_STACK_ON_COMMIT ||
update_reason == COMP_UPDATE_STACK_ON_SEEK)
update_reason == COMP_UPDATE_STACK_ON_SEEK ||
update_reason == COMP_UPDATE_STACK_INITIALIZE)
return TRUE;
return FALSE;