mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
Change default timers weekdays; Fix for fastscan crash; Open video with configured mode instead of PAL - for testing
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@809 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#include <zapit/cam.h>
|
||||
#include <zapit/channel.h>
|
||||
|
||||
extern CZapitChannel *channel;
|
||||
extern CZapitChannel *g_current_channel;
|
||||
extern CCam *cam0;
|
||||
|
||||
#define TS_SIZE 188
|
||||
@@ -342,8 +342,8 @@ void * streamts_live_thread(void *data)
|
||||
|
||||
dmx->Start();
|
||||
|
||||
if(channel)
|
||||
cam0->setCaPmt(channel->getCaPmt(), 0, 3, true); // demux 0 + 1, update
|
||||
if(g_current_channel)
|
||||
cam0->setCaPmt(g_current_channel->getCaPmt(), 0, 3, true); // demux 0 + 1, update
|
||||
|
||||
size_t pos;
|
||||
ssize_t r;
|
||||
@@ -376,8 +376,8 @@ void * streamts_live_thread(void *data)
|
||||
}
|
||||
|
||||
printf("Exiting LIVE STREAM thread, fd %d\n", fd);
|
||||
if(channel)
|
||||
cam0->setCaPmt(channel->getCaPmt(), 0, 1, true); // demux 0, update
|
||||
if(g_current_channel)
|
||||
cam0->setCaPmt(g_current_channel->getCaPmt(), 0, 1, true); // demux 0, update
|
||||
|
||||
delete dmx;
|
||||
free(buf);
|
||||
|
Reference in New Issue
Block a user