From: Mark Wooding Date: Tue, 12 Apr 2022 20:58:51 +0000 (+0100) Subject: dvd-sector-copy.c: Update progress data at event edge. X-Git-Url: https://git.distorted.org.uk/~mdw/dvdrip/commitdiff_plain/5ce0ca2a20c4d09d6c8366333b9ac03edf582405 dvd-sector-copy.c: Update progress data at event edge. Don't just redisplay. In particular, this forces output right at the very beginning, before we read anything, which will be significant soon. --- diff --git a/dvd-sector-copy.c b/dvd-sector-copy.c index acdde73..96379e4 100644 --- a/dvd-sector-copy.c +++ b/dvd-sector-copy.c @@ -1746,7 +1746,7 @@ static void emit(secaddr start, secaddr end) /* Put the progress display back, if we took it away, and show the file * progress bar if we added one. */ - progress_update(&progress); + update_progress(start); /* Read the input region and copy it to the disc. */ pos = start;