gst/gstqueue.c: Use better defaults for when a queue should block. This gets rid of jerky playback for quite a few fi...

Original commit message from CVS:
2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/gstqueue.c: (gst_queue_init):
Use better defaults for when a queue should block. This
gets rid of jerky playback for quite a few files.
It takes more memory.
This commit is contained in:
Benjamin Otte 2004-01-11 17:55:10 +00:00
parent 68df6ee79d
commit 88c4887db3
3 changed files with 13 additions and 6 deletions

View file

@ -1,3 +1,10 @@
2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/gstqueue.c: (gst_queue_init):
Use better defaults for when a queue should block. This
gets rid of jerky playback for quite a few files.
It takes more memory.
2004-01-10 Thomas Vander Stichele <thomas at apestaart dot org>
(gst_xml_registry_parse_padtemplate):

View file

@ -262,9 +262,9 @@ gst_queue_init (GstQueue *queue)
queue->cur_level.buffers = 0; /* no content */
queue->cur_level.bytes = 0; /* no content */
queue->cur_level.time = 0; /* no content */
queue->max_size.buffers = 100; /* max. 100 buffers */
queue->max_size.bytes = 1024 * 1024; /* max. 1 MB */
queue->max_size.time = GST_SECOND; /* max. 1 sec. */
queue->max_size.buffers = 250; /* high limit */
queue->max_size.bytes = 0; /* unlimited */
queue->max_size.time = 0; /* unlimited */
queue->min_treshold.buffers = 0; /* no treshold */
queue->min_treshold.bytes = 0; /* no treshold */
queue->min_treshold.time = 0; /* no treshold */

View file

@ -262,9 +262,9 @@ gst_queue_init (GstQueue *queue)
queue->cur_level.buffers = 0; /* no content */
queue->cur_level.bytes = 0; /* no content */
queue->cur_level.time = 0; /* no content */
queue->max_size.buffers = 100; /* max. 100 buffers */
queue->max_size.bytes = 1024 * 1024; /* max. 1 MB */
queue->max_size.time = GST_SECOND; /* max. 1 sec. */
queue->max_size.buffers = 250; /* high limit */
queue->max_size.bytes = 0; /* unlimited */
queue->max_size.time = 0; /* unlimited */
queue->min_treshold.buffers = 0; /* no treshold */
queue->min_treshold.bytes = 0; /* no treshold */
queue->min_treshold.time = 0; /* no treshold */