mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
eitd/dmx.cpp: add next_filter()
This commit is contained in:
@@ -551,6 +551,15 @@ int DMX::request_unpause(void)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool DMX::next_filter()
|
||||||
|
{
|
||||||
|
if (filter_index + 1 < (signed) filters.size()) {
|
||||||
|
change(filter_index + 1);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
const char *dmx_filter_types [] = {
|
const char *dmx_filter_types [] = {
|
||||||
"dummy filter",
|
"dummy filter",
|
||||||
"actual transport stream, scheduled",
|
"actual transport stream, scheduled",
|
||||||
|
@@ -41,7 +41,7 @@ typedef unsigned char version_number_t;
|
|||||||
|
|
||||||
class DMX
|
class DMX
|
||||||
{
|
{
|
||||||
private:
|
protected:
|
||||||
|
|
||||||
int fd;
|
int fd;
|
||||||
cDemux * dmx;
|
cDemux * dmx;
|
||||||
@@ -63,6 +63,7 @@ private:
|
|||||||
bool check_complete(const unsigned char table_id, const unsigned short extension_id, const unsigned short onid, const unsigned short tsid, const unsigned char);
|
bool check_complete(const unsigned char table_id, const unsigned short extension_id, const unsigned short onid, const unsigned short tsid, const unsigned char);
|
||||||
sections_id_t create_sections_id(const unsigned char table_id, const unsigned short extension_id, const unsigned char section_number, const unsigned short onid, const unsigned short tsid);
|
sections_id_t create_sections_id(const unsigned char table_id, const unsigned short extension_id, const unsigned char section_number, const unsigned short onid, const unsigned short tsid);
|
||||||
|
|
||||||
|
bool next_filter();
|
||||||
void init();
|
void init();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Reference in New Issue
Block a user