spark: make cDemux multi-tuner compatible

...which is more complicated than it seems at first glance, due
to the restrictions of the sh4 pti driver...


Origin commit data
------------------
Branch: master
Commit: 99a63b16ca
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-09-22 (Sat, 22 Sep 2012)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2012-09-22 11:07:43 +02:00
parent 2891db5593
commit 7ccb9441b3
2 changed files with 123 additions and 51 deletions

View File

@@ -38,9 +38,11 @@ class cDemux
std::vector<pes_pids> pesfds;
struct dmx_sct_filter_params s_flt;
struct dmx_pes_filter_params p_flt;
int last_source;
bool _open(void);
public:
bool Open(DMX_CHANNEL_TYPE pes_type, void * x = NULL, int y = 0);
bool Open(DMX_CHANNEL_TYPE pes_type, void * unused = NULL, int bufsize = 0);
void Close(void);
bool Start(bool record = false);
bool Stop(void);