streamsynchronizer: Fix check for belonging to another stream
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 24 Apr 2013 09:10:34 +0000 (11:10 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 24 Apr 2013 09:11:41 +0000 (11:11 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=697820

gst/playback/gststreamsynchronizer.c

index d4257dc..1044536 100644 (file)
@@ -259,7 +259,8 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstObject * parent,
         for (l = self->streams; l; l = l->next) {
           ostream = l->data;
 
-          if (ostream->stream_start_seqnum == seqnum && !ostream->wait) {
+          if (ostream != stream && ostream->stream_start_seqnum == seqnum
+              && !ostream->wait) {
             new_stream = FALSE;
             break;
           }