mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
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:
parent
68df6ee79d
commit
88c4887db3
3 changed files with 13 additions and 6 deletions
|
@ -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>
|
2004-01-10 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
(gst_xml_registry_parse_padtemplate):
|
(gst_xml_registry_parse_padtemplate):
|
||||||
|
|
|
@ -262,9 +262,9 @@ gst_queue_init (GstQueue *queue)
|
||||||
queue->cur_level.buffers = 0; /* no content */
|
queue->cur_level.buffers = 0; /* no content */
|
||||||
queue->cur_level.bytes = 0; /* no content */
|
queue->cur_level.bytes = 0; /* no content */
|
||||||
queue->cur_level.time = 0; /* no content */
|
queue->cur_level.time = 0; /* no content */
|
||||||
queue->max_size.buffers = 100; /* max. 100 buffers */
|
queue->max_size.buffers = 250; /* high limit */
|
||||||
queue->max_size.bytes = 1024 * 1024; /* max. 1 MB */
|
queue->max_size.bytes = 0; /* unlimited */
|
||||||
queue->max_size.time = GST_SECOND; /* max. 1 sec. */
|
queue->max_size.time = 0; /* unlimited */
|
||||||
queue->min_treshold.buffers = 0; /* no treshold */
|
queue->min_treshold.buffers = 0; /* no treshold */
|
||||||
queue->min_treshold.bytes = 0; /* no treshold */
|
queue->min_treshold.bytes = 0; /* no treshold */
|
||||||
queue->min_treshold.time = 0; /* no treshold */
|
queue->min_treshold.time = 0; /* no treshold */
|
||||||
|
|
|
@ -262,9 +262,9 @@ gst_queue_init (GstQueue *queue)
|
||||||
queue->cur_level.buffers = 0; /* no content */
|
queue->cur_level.buffers = 0; /* no content */
|
||||||
queue->cur_level.bytes = 0; /* no content */
|
queue->cur_level.bytes = 0; /* no content */
|
||||||
queue->cur_level.time = 0; /* no content */
|
queue->cur_level.time = 0; /* no content */
|
||||||
queue->max_size.buffers = 100; /* max. 100 buffers */
|
queue->max_size.buffers = 250; /* high limit */
|
||||||
queue->max_size.bytes = 1024 * 1024; /* max. 1 MB */
|
queue->max_size.bytes = 0; /* unlimited */
|
||||||
queue->max_size.time = GST_SECOND; /* max. 1 sec. */
|
queue->max_size.time = 0; /* unlimited */
|
||||||
queue->min_treshold.buffers = 0; /* no treshold */
|
queue->min_treshold.buffers = 0; /* no treshold */
|
||||||
queue->min_treshold.bytes = 0; /* no treshold */
|
queue->min_treshold.bytes = 0; /* no treshold */
|
||||||
queue->min_treshold.time = 0; /* no treshold */
|
queue->min_treshold.time = 0; /* no treshold */
|
||||||
|
|
Loading…
Reference in a new issue