libaacs | branch: master | npzacs <npz...@gmail.com> | Tue Dec 17 18:49:55 2013 
+0200| [a57a4b1ebd0f1f689ab16e5e9b01485ca0c9ff14] | committer: npzacs

mmc: added logging

> http://git.videolan.org/gitweb.cgi/libaacs.git/?a=commit;h=a57a4b1ebd0f1f689ab16e5e9b01485ca0c9ff14
---

 src/libaacs/mmc.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/libaacs/mmc.c b/src/libaacs/mmc.c
index 9c8c0e5..2f1912a 100644
--- a/src/libaacs/mmc.c
+++ b/src/libaacs/mmc.c
@@ -388,6 +388,8 @@ static int _mmc_report_disc_structure(MMC *mmc, uint8_t 
agid, uint8_t format,
     memset(cmd, 0, sizeof(cmd));
     memset(buf, 0, len);
 
+    DEBUG(DBG_MMC, "MMC report disc structure [format 0x%x layer %d address 
%d] ...\n", format, layer, address);
+
     cmd[0] = 0xad; // operation code
     cmd[1] = 0x01; // BluRay
     cmd[2] = (address >> 24) & 0xff;
@@ -409,6 +411,8 @@ static int _mmc_get_configuration(MMC *mmc, uint16_t 
feature, uint8_t *buf, uint
     memset(cmd, 0, sizeof(cmd));
     memset(buf, 0, len);
 
+    DEBUG(DBG_MMC, "MMC get configuration [feature 0x%x] ...\n", feature);
+
     cmd[0] = 0x46; // operation code
     cmd[1] = 0x01; // BluRay
     cmd[2] = (feature >> 8) & 0xff;

_______________________________________________
libaacs-devel mailing list
libaacs-devel@videolan.org
https://mailman.videolan.org/listinfo/libaacs-devel

Reply via email to