mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added handling of the 'Close MMI' tag
This commit is contained in:
parent
7683e67826
commit
4299056229
2
HISTORY
2
HISTORY
@ -3703,3 +3703,5 @@ Video Disk Recorder Revision History
|
|||||||
2005-08-20: Version 1.3.30
|
2005-08-20: Version 1.3.30
|
||||||
|
|
||||||
- Improved responsiveness inside CAM menus.
|
- 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
15
ci.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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"
|
#include "ci.h"
|
||||||
@ -1136,6 +1136,19 @@ bool cCiMMI::Process(int Length, const uint8_t *Data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
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);
|
default: esyslog("ERROR: CI MMI: unknown tag %06X", Tag);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user