summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2018-06-06 08:03:33 -0700
committerJohn Stebbins <[email protected]>2018-06-06 08:05:35 -0700
commitacdc27993093f6acd5f47c0f79cc9e4209a9d8e9 (patch)
treeb5741eb14949b1d254276b51810f767e2a936450
parent3bf84768a9f5e08c81ac688ba5ef7b114f71ff1d (diff)
bd: Don't fail titles with unknown aspect
Assum 16:9 instead Fixes https://forum.handbrake.fr/viewtopic.php?f=11&t=37836
-rw-r--r--libhb/bd.c6
1 files 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);