From 843411627224df7f9affa5083c5241276c0eb50e Mon Sep 17 00:00:00 2001 From: phintuka Date: Mon, 17 Sep 2007 22:33:09 +0000 Subject: Increase changes to get free buffer for critical control messages --- xine_input_vdr.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'xine_input_vdr.c') 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; -- cgit v1.2.3