git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix handy like jumping in sorted service list
[enigma2.git]
/
lib
/
dvb
/
decoder.h
diff --git
a/lib/dvb/decoder.h
b/lib/dvb/decoder.h
index 67a8c5082fd42e014e16c31610b06af8e777b68c..7bd16fd1bb3b077457c2b5e727739e30a5ec1e2b 100644
(file)
--- a/
lib/dvb/decoder.h
+++ b/
lib/dvb/decoder.h
@@
-11,9
+11,17
@@
private:
ePtr<eDVBDemux> m_demux;
int m_fd, m_fd_demux;
public:
ePtr<eDVBDemux> m_demux;
int m_fd, m_fd_demux;
public:
+ enum {aMPEG, aAC3, aDTS };
eDVBAudio(eDVBDemux *demux, int dev);
eDVBAudio(eDVBDemux *demux, int dev);
- int startPid(int pid);
+ int startPid(int pid
, int type
);
void stop();
void stop();
+#if HAVE_DVB_API_VERSION < 3
+ void start();
+ void stopPid();
+#endif
+ void flush();
+ void freeze();
+ void unfreeze();
virtual ~eDVBAudio();
};
virtual ~eDVBAudio();
};
@@
-27,6
+35,13
@@
public:
eDVBVideo(eDVBDemux *demux, int dev);
int startPid(int pid);
void stop();
eDVBVideo(eDVBDemux *demux, int dev);
int startPid(int pid);
void stop();
+#if HAVE_DVB_API_VERSION < 3
+ void start();
+ void stopPid();
+#endif
+ void flush();
+ void freeze();
+ void unfreeze();
virtual ~eDVBVideo();
};
virtual ~eDVBVideo();
};
@@
-43,7
+58,7
@@
public:
virtual ~eDVBPCR();
};
virtual ~eDVBPCR();
};
-class eTSMPEGDecoder: public iTSMPEGDecoder
+class eTSMPEGDecoder: public
Object, public
iTSMPEGDecoder
{
DECLARE_REF(eTSMPEGDecoder);
private:
{
DECLARE_REF(eTSMPEGDecoder);
private:
@@
-60,6
+75,9
@@
private:
};
int m_changed;
int setState();
};
int m_changed;
int setState();
+ ePtr<eConnection> m_demux_event;
+
+ void demux_event(int event);
public:
enum { pidNone = -1 };
eTSMPEGDecoder(eDVBDemux *demux, int decoder);
public:
enum { pidNone = -1 };
eTSMPEGDecoder(eDVBDemux *demux, int decoder);
@@
-75,5
+93,6
@@
public:
RESULT setPictureSkipMode(int what);
RESULT setSlowMotion(int repeat);
RESULT setZoom(int what);
RESULT setPictureSkipMode(int what);
RESULT setSlowMotion(int repeat);
RESULT setZoom(int what);
+ RESULT flush();
};
#endif
};
#endif