improve subtitle handling

Origin commit data
------------------
Branch: master
Commit: 9150713e46
Author: martii <m4rtii@gmx.de>
Date: 2012-11-06 (Tue, 06 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2012-11-06 14:34:31 +01:00
parent 5ef9887260
commit 79ff14bd82
6 changed files with 28 additions and 4 deletions

View File

@@ -1119,6 +1119,16 @@ static int Command(void* _context, PlaybackCmd_t command, void * argument) {
ret = PlaybackSwitchTeletext(context, (int*)argument);
break;
}
case PLAYBACK_FRAMEBUFFER_LOCK: {
context->playback->mayWriteToFramebuffer = 0;
ret = cERR_PLAYBACK_NO_ERROR;
break;
}
case PLAYBACK_FRAMEBUFFER_UNLOCK: {
context->playback->mayWriteToFramebuffer = 1;
ret = cERR_PLAYBACK_NO_ERROR;
break;
}
#endif
default:
playback_err("PlaybackCmd %d not supported!\n", command);
@@ -1153,6 +1163,7 @@ PlaybackHandler_t PlaybackHandler = {
#ifdef MARTII
0,
0,
1,
#endif
&Command,
"",