diff options
-rw-r--r-- | xine_input_vdr.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xine_input_vdr.c b/xine_input_vdr.c index ceb6f6bd..93bf02fc 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.96 2007-09-17 22:31:59 phintuka Exp $ + * $Id: xine_input_vdr.c,v 1.97 2007-09-17 22:33:09 phintuka Exp $ * */ @@ -1412,6 +1412,10 @@ static buf_element_t *get_buf_element(vdr_input_plugin_t *this, int size, int fo } } + /* final try from audio fifo */ + if(!buf) + buf = this->stream->audio_fifo->buffer_pool_try_alloc(this->stream->audio_fifo); + if(buf) { buf->content = buf->mem; buf->size = 0; |