From 7081f9c6d5a2d56f7d4f17a5fdb9c22245b24caf Mon Sep 17 00:00:00 2001 From: eddyg Date: Wed, 19 Sep 2007 05:08:55 +0000 Subject: Warning message had preview number out by one. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@974 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/scan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libhb/scan.c') diff --git a/libhb/scan.c b/libhb/scan.c index a23ae390e..272f03ffb 100644 --- a/libhb/scan.c +++ b/libhb/scan.c @@ -334,7 +334,7 @@ static int DecodePreviews( hb_scan_t * data, hb_title_t * title ) { if( !hb_dvd_read( data->dvd, buf_ps ) ) { - hb_log("Could not read preview %d, skipped", i); + hb_log( "Warning: Could not read data for preview %d, skipped", i + 1 ); goto skip_preview; } } @@ -342,7 +342,7 @@ static int DecodePreviews( hb_scan_t * data, hb_title_t * title ) { if ( !hb_stream_read(data->stream,buf_ps) ) { - hb_log("Could not read preview %d, skipped", i); + hb_log( "Warning: Could not read data for preview %d, skipped", i + 1 ); goto skip_preview; } } -- cgit v1.2.3