1
0
Fork 0

Switch to 3D profile when 3D disc is detected

This commit is contained in:
hpi1 2019-02-01 14:21:59 +02:00
parent 93a060d5ed
commit e0714f998b
1 changed files with 7 additions and 1 deletions

View File

@ -1062,13 +1062,19 @@ static void _fill_disc_info(BLURAY *bd, BD_ENC_INFO *enc_info)
bd->disc_info.top_menu = titles[0];
}
/* increase player profile and version when UHD disc is detected */
/* increase player profile and version when 3D or UHD disc is detected */
if (index->indx_version >= ('0' << 24 | '3' << 16 | '0' << 8 | '0')) {
BD_DEBUG(DBG_CRIT | DBG_BLURAY, "WARNING: BluRay profile 6 BD-J menu support is experimental\n");
/* Switch to UHD profile */
psr_init_UHD(bd->regs, 1);
}
if (((index->indx_version >> 16) & 0xff) == '2') {
if (index->app_info.content_exist_flag) {
/* Switch to 3D profile */
psr_init_3D(bd->regs, index->app_info.initial_output_mode_preference, 0);
}
}
indx_free(&index);