diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-04-30 17:56:56 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-04-30 17:56:56 +0000 |
| commit | 4e220ae1186c44da895a774e6c3eee11064f98f4 (patch) | |
| tree | bf7201c64cec2ccd58581bd46f5bb26d8abbf6eb /lib/dvb/idvb.h | |
| parent | a20655498030829cd4186f6788179f6250b5c87d (diff) | |
| download | enigma2-4e220ae1186c44da895a774e6c3eee11064f98f4.tar.gz enigma2-4e220ae1186c44da895a774e6c3eee11064f98f4.zip | |
- fixed bogus channel sharing
Diffstat (limited to 'lib/dvb/idvb.h')
| -rw-r--r-- | lib/dvb/idvb.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/dvb/idvb.h b/lib/dvb/idvb.h index 1ee92837..0dc5ce57 100644 --- a/lib/dvb/idvb.h +++ b/lib/dvb/idvb.h @@ -77,6 +77,14 @@ struct eDVBChannelID eDVBNamespace dvbnamespace; eTransportStreamID transport_stream_id; eOriginalNetworkID original_network_id; + + bool operator==(const eDVBChannelID &c) const + { + return dvbnamespace == c.dvbnamespace && + transport_stream_id == c.transport_stream_id && + original_network_id == c.original_network_id; + } + bool operator<(const eDVBChannelID &c) const { if (dvbnamespace < c.dvbnamespace) @@ -417,12 +425,14 @@ public: }; class iDVBSectionReader; +class iDVBTSRecorder; class iTSMPEGDecoder; class iDVBDemux: public iObject { public: virtual RESULT createSectionReader(eMainloop *context, ePtr<iDVBSectionReader> &reader)=0; + virtual RESULT createTSRecorder(ePtr<iDVBTSRecorder> &recorder)=0; virtual RESULT getMPEGDecoder(ePtr<iTSMPEGDecoder> &reader)=0; }; |
