diff options
author | phintuka <phintuka> | 2010-04-16 09:33:17 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2010-04-16 09:33:17 +0000 |
commit | fba36f3382593097aab2e4aed0f59fb9b024a821 (patch) | |
tree | 35293e05506ed0811902b27c9723f887cf98ca77 | |
parent | 91d5201e7d22b7a13058c418d6477889d73e6e26 (diff) | |
download | xineliboutput-fba36f3382593097aab2e4aed0f59fb9b024a821.tar.gz xineliboutput-fba36f3382593097aab2e4aed0f59fb9b024a821.tar.bz2 |
SCR tuning: fixed calculating free buffers when using HD buffer (get_buf_element() uses only hd_buffer)
-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 7fcc6e29..65d05833 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.314 2010-04-16 09:31:36 phintuka Exp $ + * $Id: xine_input_vdr.c,v 1.315 2010-04-16 09:33:17 phintuka Exp $ * */ @@ -134,7 +134,7 @@ typedef struct { # include <linux/unistd.h> /* syscall(__NR_gettid) */ #endif -static const char module_revision[] = "$Id: xine_input_vdr.c,v 1.314 2010-04-16 09:31:36 phintuka Exp $"; +static const char module_revision[] = "$Id: xine_input_vdr.c,v 1.315 2010-04-16 09:33:17 phintuka Exp $"; static const char log_module_input_vdr[] = "[input_vdr] "; #define LOG_MODULENAME log_module_input_vdr #define SysLogLevel iSysLogLevel @@ -600,7 +600,7 @@ static void vdr_adjust_realtime_speed(vdr_input_plugin_t *this) /*int num_vbufs = 0;*/ if (this->hd_stream && this->hd_buffer) - num_free += this->hd_buffer->num_free(this->hd_buffer); + num_free = this->hd_buffer->num_free(this->hd_buffer); if (this->stream->audio_fifo) num_used += this->stream->audio_fifo->size(this->stream->audio_fifo); num_free -= this->reserved_buffers; |