videomixer: Don't set EOS to FALSE when the collectpad *is* EOS
authorMathieu Duponchelle <mathieu.duponchelle@epitech.eu>
Tue, 3 Sep 2013 22:27:50 +0000 (00:27 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Wed, 4 Sep 2013 09:09:04 +0000 (11:09 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=707238

gst/videomixer/videomixer2.c

index 1fe43194988c2bbdd5be56a6a61ef449aad0cfe6..c60759f81aa9cb9f4e6d80da5a284f5a9a4bb760 100644 (file)
@@ -802,7 +802,8 @@ gst_videomixer2_fill_queues (GstVideoMixer2 * mix,
           if (!GST_COLLECT_PADS_STATE_IS_SET (mixcol,
                   GST_COLLECT_PADS_STATE_EOS))
             need_more_data = TRUE;
-        } else {
+        } else if (!GST_COLLECT_PADS_STATE_IS_SET (mixcol,
+                GST_COLLECT_PADS_STATE_EOS)) {
           eos = FALSE;
         }
       }