summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/dvd.c6
-rw-r--r--libhb/dvdnav.c6
-rw-r--r--test/test.c3
3 files changed, 2 insertions, 13 deletions
diff --git a/libhb/dvd.c b/libhb/dvd.c
index 39b519d4c..fa5373e79 100644
--- a/libhb/dvd.c
+++ b/libhb/dvd.c
@@ -421,12 +421,6 @@ static hb_title_t * hb_dvdread_title_scan( hb_dvd_t * e, int t )
hb_list_add( title->list_audio, audio );
}
- if( !hb_list_count( title->list_audio ) )
- {
- hb_log( "scan: ignoring title (no audio track)" );
- goto fail;
- }
-
memcpy( title->palette,
vts->vts_pgcit->pgci_srp[pgc_id-1].pgc->palette,
16 * sizeof( uint32_t ) );
diff --git a/libhb/dvdnav.c b/libhb/dvdnav.c
index 4633f1cf6..d525b9624 100644
--- a/libhb/dvdnav.c
+++ b/libhb/dvdnav.c
@@ -588,12 +588,6 @@ static hb_title_t * hb_dvdnav_title_scan( hb_dvd_t * e, int t )
hb_list_add( title->list_audio, audio );
}
- if( !hb_list_count( title->list_audio ) )
- {
- hb_log( "scan: ignoring title (no audio track)" );
- goto fail;
- }
-
memcpy( title->palette,
ifo->vts_pgcit->pgci_srp[title_pgcn-1].pgc->palette,
16 * sizeof( uint32_t ) );
diff --git a/test/test.c b/test/test.c
index 54d763145..81543c308 100644
--- a/test/test.c
+++ b/test/test.c
@@ -1382,7 +1382,8 @@ static int HandleEvents( hb_handle_t * h )
}
}
- if( hb_list_count(audios) == 0 )
+ if( hb_list_count(audios) == 0 &&
+ hb_list_count(job->title->list_audio) > 0 )
{
/* Create a new audio track with default settings */
audio = calloc(1, sizeof(*audio));