[libbluray-devel] Allow changing player version

hpi1 git at videolan.org
Wed Aug 29 14:06:54 CEST 2012


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Aug 29 15:06:16 2012 +0300| [84ca84cbf30bb656fe76f768d24c0f5dd1537193] | committer: hpi1

Allow changing player version

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=84ca84cbf30bb656fe76f768d24c0f5dd1537193
---

 src/libbluray/bluray.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index 7e66f58..4199754 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -1884,10 +1884,6 @@ int bd_set_player_setting(BLURAY *bd, uint32_t idx, uint32_t value)
 
     unsigned i;
 
-    if (idx == BLURAY_PLAYER_SETTING_PLAYER_PROFILE) {
-        value = ((value & 0xf) << 16) | 0x0200;  /* version fixed to BD-RO Part 3, version 2.0 */
-    }
-
     for (i = 0; i < sizeof(map) / sizeof(map[0]); i++) {
         if (idx == map[i].idx) {
             return !bd_psr_setting_write(bd->regs, idx, value);



More information about the libbluray-devel mailing list