aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/decoder.h
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-07-13 14:33:45 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-07-13 14:33:45 +0000
commitf9aafeeb6715c4d5970bdad0f77fd0a7c9003163 (patch)
tree6ae83502b1fd19d347e194668761c4c7a1dc5ace /lib/dvb/decoder.h
parentdbb5a31a5ade1387803b4710ea460c7b595d9339 (diff)
downloadenigma2-f9aafeeb6715c4d5970bdad0f77fd0a7c9003163.tar.gz
enigma2-f9aafeeb6715c4d5970bdad0f77fd0a7c9003163.zip
some changes for better support of old dreambox models
some cleanups
Diffstat (limited to 'lib/dvb/decoder.h')
-rw-r--r--lib/dvb/decoder.h24
1 files changed, 18 insertions, 6 deletions
diff --git a/lib/dvb/decoder.h b/lib/dvb/decoder.h
index 001139e5..bcf3eb38 100644
--- a/lib/dvb/decoder.h
+++ b/lib/dvb/decoder.h
@@ -15,13 +15,17 @@ private:
public:
enum { aMPEG, aAC3, aDTS, aAAC };
eDVBAudio(eDVBDemux *demux, int dev);
- int startPid(int pid, int type);
enum { aMonoLeft, aStereo, aMonoRight };
void setChannel(int channel);
void stop();
#if HAVE_DVB_API_VERSION < 3
- void start();
- void stopPid();
+ int setPid(int pid, int type);
+ int startPid();
+ int start();
+ int stopPid();
+ int setAVSync(int val);
+#else
+ int startPid(int pid, int type);
#endif
void flush();
void freeze();
@@ -44,11 +48,14 @@ private:
public:
enum { MPEG2, MPEG4_H264 };
eDVBVideo(eDVBDemux *demux, int dev);
- int startPid(int pid, int type=MPEG2);
void stop();
#if HAVE_DVB_API_VERSION < 3
- void start();
- void stopPid();
+ int setPid(int pid);
+ int startPid();
+ int start();
+ int stopPid();
+#else
+ int startPid(int pid, int type=MPEG2);
#endif
void flush();
void freeze();
@@ -68,7 +75,12 @@ private:
int m_fd_demux;
public:
eDVBPCR(eDVBDemux *demux);
+#if HAVE_DVB_API_VERSION < 3
+ int setPid(int pid);
+ int startPid();
+#else
int startPid(int pid);
+#endif
void stop();
virtual ~eDVBPCR();
};