aboutsummaryrefslogtreecommitdiff
path: root/lib/DllLibbluray.h
diff options
context:
space:
mode:
authorelupus <elupus@xbmc.org>2011-10-08 15:08:45 +0200
committerelupus <elupus@xbmc.org>2012-04-10 23:17:24 +0200
commit2c8525f89a48de8de42b8208156dc663a2e49000 (patch)
treee5cc330029dbf6bcf4a8631775145b943c128e49 /lib/DllLibbluray.h
parent3aad05e08382e6938c27c37d50e8a8c426bf9835 (diff)
[bluray] Check if disk is encrypted and log messages about lack of libs to decrypt
Diffstat (limited to 'lib/DllLibbluray.h')
-rw-r--r--lib/DllLibbluray.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/DllLibbluray.h b/lib/DllLibbluray.h
index e5db1ce68e..5fe535ae64 100644
--- a/lib/DllLibbluray.h
+++ b/lib/DllLibbluray.h
@@ -68,6 +68,7 @@ public:
virtual void bd_set_debug_mask(uint32_t mask)=0;
virtual uint32_t bd_get_debug_mask(void)=0;
#endif
+ virtual const BLURAY_DISC_INFO *bd_get_disc_info(BLURAY *bd)=0;
};
class DllLibbluray : public DllDynamic, DllLibblurayInterface
@@ -109,6 +110,7 @@ class DllLibbluray : public DllDynamic, DllLibblurayInterface
DEFINE_METHOD1(void, bd_set_debug_mask, (uint32_t p1))
DEFINE_METHOD0(uint32_t, bd_get_debug_mask)
#endif
+ DEFINE_METHOD1(const BLURAY_DISC_INFO*, bd_get_disc_info, (BLURAY *p1))
BEGIN_METHOD_RESOLVE()
RESOLVE_METHOD(bd_get_titles)
@@ -140,6 +142,7 @@ class DllLibbluray : public DllDynamic, DllLibblurayInterface
RESOLVE_METHOD(bd_set_debug_mask)
RESOLVE_METHOD(bd_get_debug_mask)
#endif
+ RESOLVE_METHOD(bd_get_disc_info)
END_METHOD_RESOLVE()
#ifdef HAVE_LIBBBLURAY_HAVE_LIBBLURAY_NOANGLE