|
Valkka
0.17.0
OpenSource Video Management
|
Switch between two input streams. More...
#include <framefilterset.h>

Public Member Functions | |
| Switch (const char *name, FrameFilter *next=NULL) | |
| Default ctor. More... | |
| void | setChannel (int i) |
| int | getCurrentChannel () |
| FrameFilter * | getInputChannel (int i) |
Protected Attributes | |
| std::string | name |
| CachingGateFrameFilter | channel0 |
| Input framefilter for channel 0. | |
| CachingGateFrameFilter | channel1 |
| Input framefilter for channel 1. | |
| int | n_channel |
| Current active channel. | |
Switch between two input streams.
The idea is this:
* filter_chain_0 ----> +--------+ * | | * | Switch | -----> output_filter_chain * | | * filter_chain_1 ----> +--------+ *
| Switch::Switch | ( | const char * | name, |
| FrameFilter * | next = NULL |
||
| ) |
Default ctor.
| name | Name of the switch |
| next | Output FrameFilter |
1.8.13