Commit c89e4926 authored by Christophe Massiot's avatar Christophe Massiot

Poll the frontend before the DVR

This is in order to get the "lock" message before PAT and PMTs.
parent a728a09b
...@@ -158,6 +158,9 @@ block_t *dvb_Read( mtime_t i_poll_timeout ) ...@@ -158,6 +158,9 @@ block_t *dvb_Read( mtime_t i_poll_timeout )
return NULL; return NULL;
} }
if ( ufds[1].revents )
FrontendPoll();
if ( ufds[0].revents ) if ( ufds[0].revents )
{ {
p_blocks = DVRRead(); p_blocks = DVRRead();
...@@ -188,9 +191,6 @@ block_t *dvb_Read( mtime_t i_poll_timeout ) ...@@ -188,9 +191,6 @@ block_t *dvb_Read( mtime_t i_poll_timeout )
} }
} }
if ( ufds[1].revents )
FrontendPoll();
if ( i_frontend_timeout && i_wallclock > i_frontend_timeout ) if ( i_frontend_timeout && i_wallclock > i_frontend_timeout )
{ {
if ( i_quit_timeout_duration ) if ( i_quit_timeout_duration )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment