changeset 2137:6bfa0777a57a trunk

[svn] Fixed a bug where xmms_remote_jump_to_time was called with seconds instead of milliseconds.
author jerome
date Sat, 16 Dec 2006 02:20:15 -0800
parents 7ce26ebe8b6a
children 5c33790c5a26
files ChangeLog audtool/audtool.c
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Dec 15 21:18:34 2006 -0800
+++ b/ChangeLog	Sat Dec 16 02:20:15 2006 -0800
@@ -1,3 +1,11 @@
+2006-12-16 05:18:34 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [3277]
+  - don't use deprecated function playlist_get().
+  
+  trunk/audacious/mainwin.c |   30 ++++++++++++++++--------------
+  1 file changed, 16 insertions(+), 14 deletions(-)
+
+
 2006-12-16 05:14:16 +0000  William Pitcock <nenolod@nenolod.net>
   revision [3275]
   - log a warning if deprecated functions from <= 1.2 are used
--- a/audtool/audtool.c	Fri Dec 15 21:18:34 2006 -0800
+++ b/audtool/audtool.c	Sat Dec 16 02:20:15 2006 -0800
@@ -356,8 +356,8 @@
 		return;
 	}
 
-	oldtime = xmms_remote_get_output_time(session) / 1000;
-	diff = atoi(argv[2]);
+	oldtime = xmms_remote_get_output_time(session);
+	diff = atoi(argv[2]) * 1000;
 	newtime = oldtime + diff;
 
 	xmms_remote_jump_to_time(session, newtime);