Added handling of the 'Close MMI' tag

This commit is contained in:
Klaus Schmidinger 2005-08-20 12:16:23 +02:00
parent 7683e67826
commit 4299056229
2 changed files with 16 additions and 1 deletions

View File

@ -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.

15
ci.c
View File

@ -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;
}