mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
More hacks about subtitles...
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@189 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2444fc5f58
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-01-20 (Wed, 20 Jan 2010)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -599,6 +599,7 @@ printf("CSubtitleChangeExec::exec: action %s\n", actionKey.c_str());
|
||||
if(!strncmp(actionKey.c_str(), "DVB", 3)) {
|
||||
char * pidptr = strchr(actionKey.c_str(), ':');
|
||||
int pid = atoi(pidptr+1);
|
||||
tuxtx_stop_subtitle();
|
||||
dvbsub_pause();
|
||||
dvbsub_start(pid);
|
||||
} else {
|
||||
@@ -610,8 +611,8 @@ printf("CSubtitleChangeExec::exec: action %s\n", actionKey.c_str());
|
||||
int page = strtol(ptr, NULL, 16);
|
||||
printf("CSubtitleChangeExec::exec: TTX, pid %x page %x\n", pid, page);
|
||||
tuxtx_stop_subtitle();
|
||||
tuxtx_main(g_RCInput->getFileHandle(), CFrameBuffer::getInstance()->getFrameBufferPointer(), pid,
|
||||
CFrameBuffer::getInstance()->getScreenX(), CFrameBuffer::getInstance()->getScreenY(), CFrameBuffer::getInstance()->getScreenWidth(), CFrameBuffer::getInstance()->getScreenHeight(), page);
|
||||
dvbsub_stop();
|
||||
tuxtx_main(g_RCInput->getFileHandle(), pid, page);
|
||||
}
|
||||
return menu_return::RETURN_EXIT;
|
||||
}
|
||||
|
Reference in New Issue
Block a user