File: plugin-tta-segment-with-startms.patch

package info (click to toggle)
xmms2 0.8%2Bdfsg-29
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,216 kB
  • sloc: ansic: 63,803; python: 15,537; cpp: 5,718; xml: 1,479; perl: 338; ruby: 243; makefile: 79; sh: 59; asm: 7
file content (24 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (6)
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);
 }