streamsynchronizer: Fix check for belonging to another stream

https://bugzilla.gnome.org/show_bug.cgi?id=697820
This commit is contained in:
Sebastian Dröge 2013-04-24 11:10:34 +02:00
parent fbe295f275
commit 9c5c0ca878

View 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;
}