mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
Fix bouquet name in epgplus; Fix bitrate for radio channels; Show language settings before setup banner
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@688 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 913a94ce76
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-07-29 (Thu, 29 Jul 2010)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -900,13 +900,30 @@ static cDemux * dmx;
|
||||
|
||||
int CStreamInfo2::ts_setup ()
|
||||
{
|
||||
#if 0
|
||||
if (g_RemoteControl->current_PIDs.PIDs.vpid == 0)
|
||||
return -1;
|
||||
#endif
|
||||
unsigned short vpid, apid = 0;
|
||||
|
||||
vpid = g_RemoteControl->current_PIDs.PIDs.vpid;
|
||||
if(g_RemoteControl->current_PIDs.APIDs.size() > 0)
|
||||
apid = g_RemoteControl->current_PIDs.APIDs[g_RemoteControl->current_PIDs.PIDs.selected_apid].pid;
|
||||
|
||||
if(vpid == 0 && apid == 0)
|
||||
return -1;
|
||||
|
||||
dmx = new cDemux(1);
|
||||
|
||||
dmx->Open(DMX_TP_CHANNEL, NULL, 3008 * 62);
|
||||
dmx->pesFilter(g_RemoteControl->current_PIDs.PIDs.vpid);
|
||||
dmx->Open(DMX_TP_CHANNEL, NULL, 3 * 3008 * 62);
|
||||
|
||||
if(vpid > 0) {
|
||||
dmx->pesFilter(vpid);
|
||||
if(apid > 0)
|
||||
dmx->addPid(apid);
|
||||
} else
|
||||
dmx->pesFilter(apid);
|
||||
|
||||
dmx->Start();
|
||||
|
||||
gettimeofday (&first_tv, NULL);
|
||||
|
Reference in New Issue
Block a user