# HG changeset patch # User nenolod # Date 1154589653 25200 # Node ID c371351e349cd7fe5e934d9e8e41c23054b9d019 # Parent d84b994ac554043ee13e054c58e411a59e950fad [svn] - remove pointless finetune_seek stuff. didn't work right anyway, and it works better without it. diff -r d84b994ac554 -r c371351e349c ChangeLog --- a/ChangeLog Thu Aug 03 00:15:58 2006 -0700 +++ b/ChangeLog Thu Aug 03 00:20:53 2006 -0700 @@ -1,3 +1,12 @@ +2006-08-03 07:15:58 +0000 William Pitcock + revision [1876] + - damn typoes + + + Changes: Modified: + +2 -2 trunk/Plugins/Input/cue/cuesheet.c + + 2006-08-03 07:15:12 +0000 William Pitcock revision [1874] - ok, try to be less seek happy on 'natural' changes diff -r d84b994ac554 -r c371351e349c Plugins/Input/cue/cuesheet.c --- a/Plugins/Input/cue/cuesheet.c Thu Aug 03 00:15:58 2006 -0700 +++ b/Plugins/Input/cue/cuesheet.c Thu Aug 03 00:20:53 2006 -0700 @@ -50,8 +50,6 @@ gint index; } cue_tracks[MAX_CUE_TRACKS]; static gint timeout_tag = 0; -static gint finetune_seek = 0; -static gint pl_seek = 0; static InputPlugin *real_ip = NULL; @@ -198,8 +196,6 @@ { if (real_ip != NULL) real_ip->seek(time); - - pl_seek = time; } static void stop(void) @@ -253,13 +249,7 @@ real_ip->set_info = set_info_override; real_ip->output = cue_ip.output; real_ip->play_file(cue_file); - - if (finetune_seek == 0) - real_ip->seek(cue_tracks[track].index / 1000); /* XXX: seek doesn't use frames? strange... -nenolod */ - else - { - real_ip->seek(finetune_seek / 1000); - } + real_ip->seek(cue_tracks[track].index / 1000); /* XXX: seek doesn't use frames? strange... -nenolod */ } cur_cue_track = track; @@ -295,22 +285,10 @@ gint time = get_output_time(); gboolean dir = FALSE; - if (finetune_seek != 0) - { - if (real_ip != NULL) - real_ip->seek(finetune_seek / 1000); - - finetune_seek = 0; - } - while (time < cue_tracks[cur_cue_track].index) { cur_cue_track--; playlist_prev(); - - if (time - cue_tracks[cur_cue_track].index > 1000) - finetune_seek = time; - dir = TRUE; time = get_output_time() - 1000; g_usleep(10000); @@ -320,16 +298,10 @@ { cur_cue_track++; playlist_next(); - - if (cue_tracks[cur_cue_track].index - time > 1000) - finetune_seek = time; - time = get_output_time() + 1000; g_usleep(10000); } - pl_seek = 0; - return TRUE; }