}
} else if (state == iDVBFrontend::stateFailed)
{
+#ifdef BUILD_VUPLUS /* ikseong */
+ if (m_current_frontend_parameters)
+ {
+ eDebug("OURSTATE: lost lock, trying to retune");
+ ourstate = state_tuning;
+ m_frontend->get().tune(*m_current_frontend_parameters);
+ }
+ else
+ {
+ eDebug("OURSTATE: failed");
+ ourstate = state_failed;
+ }
+#else
eDebug("OURSTATE: failed");
ourstate = state_failed;
+#endif
} else
eFatal("state unknown");
RESULT eDVBChannel::playFile(const char *file)
{
eRawFile *f = new eRawFile();
- ePtr<iDataSource> source = f;
+ ePtr<iTsSource> source = f;
if (f->open(file) < 0)
{
return playSource(source, file);
}
-RESULT eDVBChannel::playSource(ePtr<iDataSource> &source, const char *streaminfo_file)
+RESULT eDVBChannel::playSource(ePtr<iTsSource> &source, const char *streaminfo_file)
{
ASSERT(!m_frontend);
if (m_pvr_thread)
}
if (m_pvr_fd_dst >= 0)
::close(m_pvr_fd_dst);
- ePtr<iDataSource> d;
+ ePtr<iTsSource> d;
m_tstools.setSource(d);
}