1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Description: Fix tta plugin to work with segment with startms
Author: Yang Zhe <yangzhe1990@gmail.com>
Bug: http://bugs.xmms2.xmms.se/view.php?id=2474
Bug-Debian: http://bugs.debian.org/588519
Applied-Upstream: 0.9
--- a/src/plugins/tta/tta.c
+++ b/src/plugins/tta/tta.c
@@ -267,7 +267,6 @@
}
data->next_boundary -= ret;
- data->next_boundary = 0;
return size;
}
@@ -307,6 +306,7 @@
/* update the index of the next frame after successful seek */
data->nextframe = idx;
+ data->next_boundary = 0;
return (data->nextframe * data->framelen);
}
|