Skip to content

Commit

Permalink
bd: Don't fail titles with unknown aspect
Browse files Browse the repository at this point in the history
  • Loading branch information
jstebbins committed Jun 6, 2018
1 parent 3bf8476 commit acdc279
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libhb/bd.c
Expand Up @@ -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);
Expand Down

0 comments on commit acdc279

Please sign in to comment.