Commit 5d1a30f4 authored by Ronald S. Bultje's avatar Ronald S. Bultje

gst/gstqueue.c: Reset default max. values in queues. Reason is simply to avoid...

gst/gstqueue.c: Reset default max. values in queues. Reason is simply to avoid braindead use. If you want wider value...

Original commit message from CVS:
* gst/gstqueue.c: (gst_queue_init):
Reset default max. values in queues. Reason is simply to avoid
braindead use. If you want wider values, use the properties. The
default is supposed to always work. Wider values would make this
beast a memory hog by default (250 full-PAL RGB32 video frames?
That's 440 MB! No thank you).
parent 1d97f026
2004-03-11 Ronald Bultje <rbultje@ronald.bitfreak.net>
* gst/gstqueue.c: (gst_queue_init):
Reset default max. values in queues. Reason is simply to avoid
braindead use. If you want wider values, use the properties. The
default is supposed to always work. Wider values would make this
beast a memory hog by default (250 full-PAL RGB32 video frames?
That's 440 MB! No thank you).
2004-03-10 David Schleef <ds@schleef.org>
* tools/gst-run.c: (main): Fix crash when no relevant tools
......
......@@ -267,9 +267,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 = 250; /* high limit */
queue->max_size.bytes = 0; /* unlimited */
queue->max_size.time = 0; /* unlimited */
queue->max_size.buffers = 100; /* 100 buffers */
queue->max_size.bytes = 10 * 1024 * 1024; /* 10 MB */
queue->max_size.time = GST_SECOND; /* 1 s. */
queue->min_threshold.buffers = 0; /* no threshold */
queue->min_threshold.bytes = 0; /* no threshold */
queue->min_threshold.time = 0; /* no threshold */
......
......@@ -267,9 +267,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 = 250; /* high limit */
queue->max_size.bytes = 0; /* unlimited */
queue->max_size.time = 0; /* unlimited */
queue->max_size.buffers = 100; /* 100 buffers */
queue->max_size.bytes = 10 * 1024 * 1024; /* 10 MB */
queue->max_size.time = GST_SECOND; /* 1 s. */
queue->min_threshold.buffers = 0; /* no threshold */
queue->min_threshold.bytes = 0; /* no threshold */
queue->min_threshold.time = 0; /* no threshold */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment