[vlc-commits] access: dvb: remove no longer used frontend timeout

Francois Cartegnie git at videolan.org
Fri Apr 22 18:20:00 CEST 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Apr 22 18:02:47 2016 +0200| [48ad514d65f815576b268676b439db5e03c6970b] | committer: Francois Cartegnie

access: dvb: remove no longer used frontend timeout

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=48ad514d65f815576b268676b439db5e03c6970b
---

 modules/access/dvb/dvb.h       |    1 -
 modules/access/dvb/linux_dvb.c |    2 --
 2 files changed, 3 deletions(-)

diff --git a/modules/access/dvb/dvb.h b/modules/access/dvb/dvb.h
index 9823914..e541124 100644
--- a/modules/access/dvb/dvb.h
+++ b/modules/access/dvb/dvb.h
@@ -59,7 +59,6 @@ struct access_sys_t
     int i_handle, i_frontend_handle;
     demux_handle_t p_demux_handles[MAX_DEMUX];
     frontend_t *p_frontend;
-    mtime_t i_frontend_timeout;
 
     /* Scan */
     struct scan_t *scan;
diff --git a/modules/access/dvb/linux_dvb.c b/modules/access/dvb/linux_dvb.c
index f2e4f94..4a9be6d 100644
--- a/modules/access/dvb/linux_dvb.c
+++ b/modules/access/dvb/linux_dvb.c
@@ -320,7 +320,6 @@ void FrontendPoll( access_t *p_access )
                 frontend_statistic_t stat;
 
                 msg_Dbg( p_access, "frontend has acquired lock" );
-                p_sys->i_frontend_timeout = 0;
 
                 /* Read some statistics */
                 if( !FrontendGetStatistic( p_access, &stat ) )
@@ -336,7 +335,6 @@ void FrontendPoll( access_t *p_access )
             else
             {
                 msg_Dbg( p_access, "frontend has lost lock" );
-                p_sys->i_frontend_timeout = mdate() + FRONTEND_LOCK_TIMEOUT;
             }
 
             IF_UP( FE_REINIT )



More information about the vlc-commits mailing list