mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +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:
@@ -73,10 +73,10 @@ int dvbsub_init() {
|
||||
int dvbsub_pause()
|
||||
{
|
||||
if(reader_running) {
|
||||
dvbsub_paused = true;
|
||||
if(dvbSubtitleConverter) {
|
||||
dvbSubtitleConverter->Pause(true);
|
||||
}
|
||||
dvbsub_paused = true;
|
||||
printf("[dvb-sub] paused\n");
|
||||
}
|
||||
|
||||
@@ -89,7 +89,6 @@ int dvbsub_start(int pid)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
if(pid) {
|
||||
if(pid != dvbsub_pid)
|
||||
dvbsub_pause();
|
||||
@@ -108,7 +107,7 @@ int dvbsub_start(int pid)
|
||||
printf("[dvb-sub] started with pid 0x%x\n", pid);
|
||||
}
|
||||
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
int dvbsub_stop()
|
||||
@@ -290,7 +289,6 @@ static void* dvbsub_thread(void* /*arg*/)
|
||||
while(dvbsub_running) {
|
||||
uint8_t* packet;
|
||||
int64_t pts;
|
||||
int pts_dts_flag;
|
||||
int dataoffset;
|
||||
int packlen;
|
||||
|
||||
|
Reference in New Issue
Block a user