From 090ea2c0ad39873550092bde1608ffc9ce31d296 Mon Sep 17 00:00:00 2001 From: waker Date: Sun, 16 Aug 2009 21:43:45 +0200 Subject: fixed flac/cue playback --- callbacks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'callbacks.c') diff --git a/callbacks.c b/callbacks.c index 6d8f2e25..c0b51d47 100644 --- a/callbacks.c +++ b/callbacks.c @@ -880,7 +880,7 @@ seekbar_draw (GtkWidget *widget) { } else { if (playlist_current.codec && playlist_current.duration > 0) { - pos = playlist_current.codec->info.position / playlist_current.duration; + pos = streamer_get_playpos () / playlist_current.duration; pos *= widget->allocation.width; } } -- cgit v1.2.3