OSDN Git Service

Mistake in chapter merging well spotted by Van, which would cause the encoding to...
authoreddyg <eddyg@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Thu, 27 Sep 2007 10:46:44 +0000 (10:46 +0000)
committereddyg <eddyg@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Thu, 27 Sep 2007 10:46:44 +0000 (10:46 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@992 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/dvd.c

index 8eab1b3..234e55b 100644 (file)
@@ -450,6 +450,7 @@ hb_title_t * hb_dvd_title_scan( hb_dvd_t * d, int t )
             chapter_old->cell_end    = chapter->cell_end;
             chapter_old->block_end   = chapter->block_end;
             chapter_old->block_count += chapter->block_count;
+            chapter_old->duration += chapter->duration;
             free( chapter );
             chapter = chapter_old;
         }