diff options
Diffstat (limited to 'src/xine-engine')
-rw-r--r-- | src/xine-engine/buffer.c | 3 | ||||
-rw-r--r-- | src/xine-engine/buffer.h | 3 | ||||
-rw-r--r-- | src/xine-engine/video_decoder.c | 4 |
3 files changed, 6 insertions, 4 deletions
diff --git a/src/xine-engine/buffer.c b/src/xine-engine/buffer.c index ae7c36b3d..382d6de0a 100644 --- a/src/xine-engine/buffer.c +++ b/src/xine-engine/buffer.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: buffer.c,v 1.10 2001/10/14 19:20:01 jkeil Exp $ + * $Id: buffer.c,v 1.11 2001/11/06 21:46:05 miguelfreitas Exp $ * * * contents: @@ -277,6 +277,7 @@ fifo_buffer_t *fifo_buffer_new (int num_buffers, uint32_t buf_size) { } this->buffer_pool_num_free = num_buffers; this->buffer_pool_capacity = num_buffers; + this->buffer_pool_buf_size = buf_size; this->buffer_pool_alloc = buffer_pool_alloc; return this; diff --git a/src/xine-engine/buffer.h b/src/xine-engine/buffer.h index ba2006c12..dd47d1c74 100644 --- a/src/xine-engine/buffer.h +++ b/src/xine-engine/buffer.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: buffer.h,v 1.19 2001/10/30 09:42:26 guenter Exp $ + * $Id: buffer.h,v 1.20 2001/11/06 21:46:05 miguelfreitas Exp $ * * * contents: @@ -181,6 +181,7 @@ struct fifo_buffer_s pthread_cond_t buffer_pool_cond_not_empty; int buffer_pool_num_free; int buffer_pool_capacity; + int buffer_pool_buf_size; } ; /* diff --git a/src/xine-engine/video_decoder.c b/src/xine-engine/video_decoder.c index 314dfded6..83f40227d 100644 --- a/src/xine-engine/video_decoder.c +++ b/src/xine-engine/video_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_decoder.c,v 1.60 2001/10/24 22:23:10 guenter Exp $ + * $Id: video_decoder.c,v 1.61 2001/11/06 21:46:05 miguelfreitas Exp $ * */ @@ -245,7 +245,7 @@ void video_decoder_init (xine_t *this) { struct sched_param pth_params; int err; - this->video_fifo = fifo_buffer_new (500, 4096); + this->video_fifo = fifo_buffer_new (500, 8192); pthread_attr_init(&pth_attrs); pthread_attr_getschedparam(&pth_attrs, &pth_params); |