summaryrefslogtreecommitdiffstats
path: root/libhb/scan.c
diff options
context:
space:
mode:
authoreddyg <[email protected]>2007-09-19 05:08:55 +0000
committereddyg <[email protected]>2007-09-19 05:08:55 +0000
commit7081f9c6d5a2d56f7d4f17a5fdb9c22245b24caf (patch)
treef97ebf5ac4d48a7628b3a40a381f2a0bf3b160f1 /libhb/scan.c
parent42519c3e85dacfe64ed776092f019ee2155954fb (diff)
Warning message had preview number out by one.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@974 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/scan.c')
-rw-r--r--libhb/scan.c4
1 files changed, 2 insertions, 2 deletions
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;
}
}