composition: Forward flushes on initialization
authorMathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Mon, 21 Jul 2014 14:54:46 +0000 (16:54 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Fri, 31 Oct 2014 10:58:11 +0000 (11:58 +0100)
gnl/gnlcomposition.c

index 363ce57..37acc70 100644 (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;