diff options
Diffstat (limited to 'xine_input_vdr.c')
-rw-r--r-- | xine_input_vdr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xine_input_vdr.c b/xine_input_vdr.c index 929ae956..7dc42343 100644 --- a/xine_input_vdr.c +++ b/xine_input_vdr.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_input_vdr.c,v 1.221 2009-02-07 19:01:58 phintuka Exp $ + * $Id: xine_input_vdr.c,v 1.222 2009-02-08 08:13:15 phintuka Exp $ * */ @@ -5297,6 +5297,8 @@ static buf_element_t *vdr_plugin_read_block (input_plugin_t *this_gen, TRACE("vdr_plugin_read_block"); + do { + /* check for disconnection/termination */ if(!this->funcs.push_input_write /* reading from socket */ && !this->control_running) { @@ -5319,8 +5321,6 @@ static buf_element_t *vdr_plugin_read_block (input_plugin_t *this_gen, /* adjust SCR speed */ need_pause = adjust_scr_speed(this); - do { - /* get next buffer */ buf = fifo_buffer_try_get(this->block_buffer); if(!buf) { |