eitd/dmx.cpp: add next_filter()

Origin commit data
------------------
Commit: 2a7908ae27
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-02-16 (Thu, 16 Feb 2012)
This commit is contained in:
[CST] Focus
2012-02-16 20:40:21 +04:00
parent f2242ef2b2
commit b525dfb859
2 changed files with 11 additions and 1 deletions

View File

@@ -551,6 +551,15 @@ int DMX::request_unpause(void)
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 [] = {
"dummy filter",
"actual transport stream, scheduled",