summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRodeo <[email protected]>2012-05-03 16:04:28 +0000
committerRodeo <[email protected]>2012-05-03 16:04:28 +0000
commit4aeadc9bc63d200d6c0b709eba7e25c4f3afe24c (patch)
tree4d73da1a557826fd4b553172180f6cd455b5ecbb /test
parent9b3507211cff2ddf6bec9072d7767e461bdc0fa7 (diff)
libhb: if no source chapter name information is available, set default chapters names explicitly (rather than leaving it to the interfaces).
Standardize calculation of chapter->hours, chapter->minutes and chapter->seconds across all sources. Get rid of an unused variable in libhb/dvd.c Ignore chapter names set by MakeMKV. "Chapter 1" is just as good as, if not better than "Chapter 01" or even "Chapter 00". git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4636 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r--test/test.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/test.c b/test/test.c
index 952a67e5a..27c7d498b 100644
--- a/test/test.c
+++ b/test/test.c
@@ -1302,21 +1302,6 @@ static int HandleEvents( hb_handle_t * h )
hb_close_csv_file( file );
}
}
- else
- {
- /* No marker file */
-
- int number_of_chapters = hb_list_count(job->title->list_chapter);
- int chapter;
-
- for(chapter = 0; chapter <= number_of_chapters - 1 ; chapter++)
- {
- hb_chapter_t * chapter_s;
- chapter_s = hb_list_item( job->title->list_chapter, chapter);
- snprintf( chapter_s->title, 1023, "Chapter %i", chapter + 1 );
- chapter_s->title[1023] = '\0';
- }
- }
}
if( crop[0] >= 0 && crop[1] >= 0 &&