From acdc27993093f6acd5f47c0f79cc9e4209a9d8e9 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Wed, 6 Jun 2018 08:03:33 -0700 Subject: bd: Don't fail titles with unknown aspect Assum 16:9 instead Fixes https://forum.handbrake.fr/viewtopic.php?f=11&t=37836 --- libhb/bd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libhb/bd.c b/libhb/bd.c index b63918040..4517d2075 100644 --- a/libhb/bd.c +++ b/libhb/bd.c @@ -398,8 +398,10 @@ hb_title_t * hb_bd_title_scan( hb_bd_t * d, int tt, uint64_t min_duration ) title->container_dar.den = 9; break; default: - hb_log( "bd: unknown aspect" ); - goto fail; + hb_log( "bd: unknown aspect %d, assuming 16:9", bdvideo->aspect ); + title->container_dar.num = 16; + title->container_dar.den = 9; + break; } hb_log("bd: aspect = %d:%d", title->container_dar.num, title->container_dar.den); -- cgit v1.2.3