mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
armbox: remove dead code from cDemux
This commit is contained in:
@@ -69,8 +69,8 @@
|
|||||||
#include "dmx_lib.h"
|
#include "dmx_lib.h"
|
||||||
#include "lt_debug.h"
|
#include "lt_debug.h"
|
||||||
|
|
||||||
/* Ugh... see comment in destructor for details... */
|
|
||||||
#include "video_lib.h"
|
#include "video_lib.h"
|
||||||
|
/* needed for getSTC... */
|
||||||
extern cVideo *videoDecoder;
|
extern cVideo *videoDecoder;
|
||||||
|
|
||||||
#define lt_debug(args...) _lt_debug(TRIPLE_DEBUG_DEMUX, this, args)
|
#define lt_debug(args...) _lt_debug(TRIPLE_DEBUG_DEMUX, this, args)
|
||||||
@@ -123,10 +123,6 @@ static const char *devname[NUM_DEMUXDEV] = {
|
|||||||
/* did we already DMX_SET_SOURCE on that demux device? */
|
/* did we already DMX_SET_SOURCE on that demux device? */
|
||||||
static bool init[NUM_DEMUXDEV] = { false, false, false, false, false, false, false, false };
|
static bool init[NUM_DEMUXDEV] = { false, false, false, false, false, false, false, false };
|
||||||
|
|
||||||
/* uuuugly */
|
|
||||||
static int dmx_tp_count = 0;
|
|
||||||
#define MAX_TS_COUNT 1
|
|
||||||
|
|
||||||
cDemux::cDemux(int n)
|
cDemux::cDemux(int n)
|
||||||
{
|
{
|
||||||
if (n < 0 || n >= NUM_DEMUX)
|
if (n < 0 || n >= NUM_DEMUX)
|
||||||
@@ -229,15 +225,6 @@ void cDemux::Close(void)
|
|||||||
fd = -1;
|
fd = -1;
|
||||||
if (measure)
|
if (measure)
|
||||||
return;
|
return;
|
||||||
if (dmx_type == DMX_TP_CHANNEL)
|
|
||||||
{
|
|
||||||
dmx_tp_count--;
|
|
||||||
if (dmx_tp_count < 0)
|
|
||||||
{
|
|
||||||
lt_info("%s dmx_tp_count < 0!!\n", __func__);
|
|
||||||
dmx_tp_count = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool cDemux::Start(bool)
|
bool cDemux::Start(bool)
|
||||||
|
Reference in New Issue
Block a user