public:
enum cacheID
{
- cVPID, cAPID, cTPID, cPCRPID, cAC3PID, cacheMax
+ cVPID, cAPID, cTPID, cPCRPID, cAC3PID, cVTYPE, cacheMax
};
int getCachePID(cacheID);
void setCachePID(cacheID, int);
- bool cacheEmpty() { return m_cache.empty(); }
+
+ bool cacheEmpty();
eDVBService();
/* m_service_name_sort is uppercase, with special chars removed, to increase sort performance. */
bool usePMT() const { return !(m_flags & dxNoDVB); }
- std::set<int> m_ca;
- std::map<int,int> m_cache;
+// std::set<int> m_ca;
+
+ int m_cache[cacheMax];
virtual ~eDVBService();
eDVBService &operator=(const eDVBService &);
{
public:
enum { pidDisabled = -1 };
- /** Set Displayed Video PID */
- virtual RESULT setVideoPID(int vpid)=0;
+ /** Set Displayed Video PID and type */
+ virtual RESULT setVideoPID(int vpid, int type)=0;
enum { af_MPEG, af_AC3, af_DTS };
/** Set Displayed Audio PID and type */