eDVBCAService();
~eDVBCAService();
public:
- static RESULT register_demux( const eServiceReferenceDVB &ref, int demux_num, eDVBCAService *&caservice );
- static RESULT unregister_demux( const eServiceReferenceDVB &ref, int demux_num, eTable<ProgramMapSection> *ptr );
+ static RESULT register_service( const eServiceReferenceDVB &ref, int demux_num, eDVBCAService *&caservice );
+ static RESULT unregister_service( const eServiceReferenceDVB &ref, int demux_num, eTable<ProgramMapSection> *ptr );
void buildCAPMT(eTable<ProgramMapSection> *ptr);
};
int pid;
enum { atMPEG, atAC3, atDTS };
int type; // mpeg2, ac3, dts, ...
- // language code, ...
+
+ int component_tag;
+ std::string language_code; /* iso-639, if available. */
};
struct program
int getProgramInfo(struct program &program);
int getDemux(ePtr<iDVBDemux> &demux);
int getPVRChannel(ePtr<iDVBPVRChannel> &pvr_channel);
-
- int tune(eServiceReferenceDVB &ref);
+ int getService(eServiceReferenceDVB &service) { service = m_reference; return 0; }
+ int getPMT(ePtr<eTable<ProgramMapSection> > &ptr) { return m_PMT.getCurrent(ptr); }
+ int getChannel(eUsePtr<iDVBChannel> &channel);
+
+ int tune(eServiceReferenceDVB &ref);
};
#endif