playbin2: Fix stream-changed message list iteration
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 8 Dec 2009 12:40:18 +0000 (13:40 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 8 Dec 2009 12:41:28 +0000 (13:41 +0100)
commit7bf631e4482d4aa343404fe4de7b329e07363164
treeed4a6511b800cfa248f80ba2e359468f73e98f43
parent1ad0e4342ef5e46831ec99722ac9b6ccc6e33e48
playbin2: Fix stream-changed message list iteration

When iterating the list and removing the current element, first
get the next element and then remove the current one and not
the other way around.
gst/playback/gstplaybin2.c