summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2007-09-17 22:33:09 +0000
committerphintuka <phintuka>2007-09-17 22:33:09 +0000
commit843411627224df7f9affa5083c5241276c0eb50e (patch)
tree05519b7ae1b3bd40f57663ede0d3a74f4942bc24
parentc2e4f412874d34daea49f23c1b7f417996eb9a64 (diff)
downloadxineliboutput-843411627224df7f9affa5083c5241276c0eb50e.tar.gz
xineliboutput-843411627224df7f9affa5083c5241276c0eb50e.tar.bz2
Increase changes to get free buffer for critical control messages
-rw-r--r--xine_input_vdr.c6
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;