dvb/tstools.cpp: fix openFile without streaminfo
[enigma2.git] / lib / dvb / tstools.h
index 41312c4c593d2df3463cd0bd1b2faf0d34eead66..99827921f84fc20e21fc6e1e172bae88f3e9d3a9 100644 (file)
@@ -19,7 +19,7 @@ public:
        eDVBTSTools();
        ~eDVBTSTools();
 
-       void setSource(ePtr<iDataSource> source, const char *streaminfo_filename=NULL);
+       void setSource(ePtr<iTsSource> &source, const char *streaminfo_filename=NULL);
        void closeSource();
 
        int openFile(const char *filename, int nostreaminfo = 0);
@@ -80,7 +80,7 @@ private:
        int m_pid;
        int m_maxrange;
 
-       ePtr<iDataSource> m_source;
+       ePtr<iTsSource> m_source;
 
        int m_begin_valid, m_end_valid;
        pts_t m_pts_begin, m_pts_end;