[libbluray-devel] commit: Fixed setting country code (player setting) from string (hpi1 )
git at videolan.org
git at videolan.org
Fri Oct 8 12:18:37 CEST 2010
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Oct 7 14:47:10 2010 +0300| [e8ba70f9a77745b2ef54fd2c9436fe0aefe556c7] | committer: hpi1
Fixed setting country code (player setting) from string
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=e8ba70f9a77745b2ef54fd2c9436fe0aefe556c7
---
src/libbluray/bluray.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index 9f272c5..caa4d4d 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -1146,7 +1146,7 @@ int bd_set_player_setting_str(BLURAY *bd, uint32_t idx, const char *s)
return bd_set_player_setting(bd, idx, s ? _string_to_uint(s, 3) : 0xffffff);
case BLURAY_PLAYER_SETTING_COUNTRY_CODE:
- return bd_set_player_setting(bd, idx, s ? _string_to_uint(s, 3) : 0xffff );
+ return bd_set_player_setting(bd, idx, s ? _string_to_uint(s, 2) : 0xffff );
default:
return 0;
More information about the libbluray-devel
mailing list