projects
/
handbrake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bf8476
)
bd: Don't fail titles with unknown aspect
author
John Stebbins
<jstebbins.hb@gmail.com>
Wed, 6 Jun 2018 15:03:33 +0000
(08:03 -0700)
committer
John Stebbins
<jstebbins.hb@gmail.com>
Wed, 6 Jun 2018 15:05:35 +0000
(08:05 -0700)
Assum 16:9 instead
Fixes https://forum.handbrake.fr/viewtopic.php?f=11&t=37836
libhb/bd.c
patch
|
blob
|
history
diff --git
a/libhb/bd.c
b/libhb/bd.c
index b639180403a9e7b2274c059b31d447dca48d496e..4517d2075352bf3883c43d5c24ae6cb68485f218 100644
(file)
--- 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);