diff options
author | ritsuka <[email protected]> | 2009-01-14 10:20:11 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2009-01-14 10:20:11 +0000 |
commit | 74a805b48c23f03e66c4c55976139acce6a4380c (patch) | |
tree | 2d6ce3dc1320a90c55c18814d436b0f947dd7990 /libhb/decmetadata.c | |
parent | 31027fc97e74dbc655e6feabdabe5e36636f4e65 (diff) |
Add importing of ffmpeg input chapters.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2082 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decmetadata.c')
-rw-r--r-- | libhb/decmetadata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/decmetadata.c b/libhb/decmetadata.c index 7ac9bcffa..235fc69fd 100644 --- a/libhb/decmetadata.c +++ b/libhb/decmetadata.c @@ -129,7 +129,7 @@ static void decmp4metadata( hb_title_t *title ) MP4GetChapters( input_file, &chapter_list, &chapter_count, MP4ChapterTypeQt ); - if( chapter_list ) { + if( chapter_list && ( hb_list_count( title->list_chapter ) == 0 ) ) { uint i = 1; while( i <= chapter_count ) { |