From 96b75f5d3402a6c44a99daaec68cae2951bd7d6d Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Fri, 20 May 2016 08:41:20 -0600 Subject: stream: create default chapter names for empty chapter titles --- libhb/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libhb/stream.c b/libhb/stream.c index 3fb7ca5a2..5cc2d6618 100644 --- a/libhb/stream.c +++ b/libhb/stream.c @@ -5569,7 +5569,7 @@ static hb_title_t *ffmpeg_title_scan( hb_stream_t *stream, hb_title_t *title ) /* Ignore generic chapter names set by MakeMKV * ("Chapter 00" etc.). * Our default chapter names are better. */ - if( tag && tag->value && + if( tag && tag->value && tag->value[0] && ( strncmp( "Chapter ", tag->value, 8 ) || strlen( tag->value ) > 11 ) ) { -- cgit v1.2.3