GNOME Bugzilla – Bug 631312
[streamsynchronizer] Advancing segments too much
Last modified: 2010-10-07 17:32:05 UTC
streamsynchronizer seems to advance stream too much in case one stream finishes earlier than the others and has a defined stop time instead of -1
Created attachment 171697 [details] [review] streamsynchronizer: Do not advance segments too much Do not advance segments beyond their start times, avoiding assertions.
I must add here that I don't know much about streamsynchronizer, so please review this carefully :)
Created attachment 171703 [details] File that triggers the bug
This is not correct unfortunately. Instead of not advancing the stream if a stop position is set you have to adjust the stop position too. If you're not advancing the stream after it's segment stop position the running times for following streams will be out of sync in gapless mode.
Created attachment 171837 [details] [review] streamsynchronizer: Do not advance segment starts beyond stop times updated patch
Comment on attachment 171837 [details] [review] streamsynchronizer: Do not advance segment starts beyond stop times Please push this, this is correct now :)
Created attachment 171895 [details] [review] streamsynchronizer: Do not advance segment starts beyond stop times Small fixup on last patch so that segments with stop time of -1 keep having it -1
Pushed. commit 6d8cb1f42d4ec6f7683d2e2cf265eeabc92db0df Author: Thiago Santos <thiago.sousa.santos@collabora.co.uk> Date: Mon Oct 4 10:01:19 2010 -0300