streamsynchronizer: Correctly calculate group start times in reverse playback mode
authorSebastian Dröge <sebastian@centricular.com>
Tue, 20 Sep 2016 19:12:22 +0000 (15:12 -0400)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 20 Sep 2016 19:13:52 +0000 (15:13 -0400)
commit0c151f6bb27b3261a0a813720bbcb1fa9e9c7279
treeca3b479d97d20767a16ddcfb124aedc60052ee20
parent0ba25ad43b8b8623db4d5ee6c2454fc68d68b672
streamsynchronizer: Correctly calculate group start times in reverse playback mode

We have to calculate from the segment.stop, not the segment.start, as
playback goes from stop to start. This fix works around another race
condition in streamsynchronizer in my testcase.

See https://bugzilla.gnome.org/show_bug.cgi?id=771479
gst/playback/gststreamsynchronizer.c