mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
Remove some globals from vcrcontrol
- Allow ttx/epg keys for timeshift
- Fix record+live streaming
- Live stream code changes for testing
- Changes to handle internal CA multi-decoding
- hack for -Werror compiling
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1040 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: ab0f7f731c
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2011-01-25 (Tue, 25 Jan 2011)
Origin message was:
------------------
- Remove some globals from vcrcontrol
- Allow ttx/epg keys for timeshift
- Fix record+live streaming
- Live stream code changes for testing
- Changes to handle internal CA multi-decoding
- hack for -Werror compiling
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1040 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -417,12 +417,15 @@ void tuxtxt_clear_cache()
|
||||
* init_demuxer *
|
||||
******************************************************************************/
|
||||
static cDemux * dmx = NULL;
|
||||
int tuxtxt_init_demuxer()
|
||||
int tuxtxt_init_demuxer(int source = 0);
|
||||
|
||||
int tuxtxt_init_demuxer(int source)
|
||||
{
|
||||
|
||||
if(dmx == NULL) {
|
||||
dmx = new cDemux(0);
|
||||
dmx = new cDemux(source);
|
||||
dmx->Open(DMX_PES_CHANNEL, NULL, 2* 3008 * 62 /*64*1024*/);
|
||||
printf("TuxTxt: source demux %d\n", source);
|
||||
}
|
||||
#if TUXTXT_DEBUG
|
||||
printf("TuxTxt: initialized\n");
|
||||
@@ -1029,13 +1032,14 @@ void *tuxtxt_CacheThread(void * /*arg*/)
|
||||
/******************************************************************************
|
||||
* start_thread *
|
||||
******************************************************************************/
|
||||
int tuxtxt_start_thread()
|
||||
int tuxtxt_start_thread(int source = 0);
|
||||
int tuxtxt_start_thread(int source)
|
||||
{
|
||||
if (tuxtxt_cache.vtxtpid == -1) return 0;
|
||||
|
||||
|
||||
tuxtxt_cache.thread_starting = 1;
|
||||
tuxtxt_init_demuxer();
|
||||
tuxtxt_init_demuxer(source);
|
||||
|
||||
dmx->pesFilter(tuxtxt_cache.vtxtpid);
|
||||
dmx->Start();
|
||||
|
Reference in New Issue
Block a user