summaryrefslogtreecommitdiffstats
path: root/libhb/dvd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/dvd.c')
-rw-r--r--libhb/dvd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libhb/dvd.c b/libhb/dvd.c
index 3c78e2cbd..cca1e8003 100644
--- a/libhb/dvd.c
+++ b/libhb/dvd.c
@@ -962,7 +962,7 @@ int hb_dvd_chapter( hb_dvd_t * d )
/***********************************************************************
* hb_dvd_is_break
***********************************************************************
- * Returns 1 if the current block is a new chapter start
+ * Returns chapter number if the current block is a new chapter start
**********************************************************************/
int hb_dvd_is_break( hb_dvd_t * d )
{
@@ -988,8 +988,7 @@ int hb_dvd_is_break( hb_dvd_t * d )
// This must not match against the start cell.
if( pgc->cell_playback[cell].first_sector == d->block && cell != d->cell_start )
{
- hb_log("dvd: Chapter Break Cell Found");
- return 1;
+ return i + 1;
}
}