summaryrefslogtreecommitdiffstats
path: root/libhb/decmetadata.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/decmetadata.c')
-rw-r--r--libhb/decmetadata.c2
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 )
{