summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY2
-rw-r--r--ci.c15
2 files changed, 16 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 254ebbcb..25304454 100644
--- a/HISTORY
+++ b/HISTORY
@@ -3703,3 +3703,5 @@ Video Disk Recorder Revision History
2005-08-20: Version 1.3.30
- Improved responsiveness inside CAM menus.
+- Added handling of the 'Close MMI' tag to avoid error log messages with CAMs
+ that actually use it.
diff --git a/ci.c b/ci.c
index ff5203af..9bca64df 100644
--- a/ci.c
+++ b/ci.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: ci.c 1.24 2005/06/04 11:57:05 kls Exp $
+ * $Id: ci.c 1.25 2005/08/20 12:16:23 kls Exp $
*/
#include "ci.h"
@@ -1136,6 +1136,19 @@ bool cCiMMI::Process(int Length, const uint8_t *Data)
}
}
break;
+ case AOT_CLOSE_MMI: {
+ int id = -1;
+ int delay = -1;
+ int l = 0;
+ const uint8_t *d = GetData(Data, l);
+ if (l > 0) {
+ id = *d++;
+ if (l > 1)
+ delay = *d;
+ }
+ dbgprotocol("%d: <== Close MMI id = %02X delay = %d\n", SessionId(), id, delay);
+ }
+ break;
default: esyslog("ERROR: CI MMI: unknown tag %06X", Tag);
return false;
}