Original commit message from CVS:
2004-01-14 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/gstqueue.c: (gst_queue_getcaps), (gst_queue_link):
query if buffers are inside the pool, ignore events
+2004-01-14 Benjamin Otte <in7y118@public.uni-hamburg.de>
+
+ * gst/gstqueue.c: (gst_queue_getcaps), (gst_queue_link):
+ query if buffers are inside the pool, ignore events
+
2004-01-13 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/gstclock.c: (gst_clock_class_init), (gst_clock_init),
queue = GST_QUEUE (gst_pad_get_parent (pad));
- if (queue->queue->length > 0) {
+ if (queue->cur_level.bytes > 0) {
return gst_caps_copy (queue->negotiated_caps);
}
queue = GST_QUEUE (gst_pad_get_parent (pad));
- if (queue->queue->length > 0) {
+ if (queue->cur_level.bytes > 0) {
if (gst_caps_is_equal_fixed (caps, queue->negotiated_caps)) {
return GST_PAD_LINK_OK;
}
queue = GST_QUEUE (gst_pad_get_parent (pad));
- if (queue->queue->length > 0) {
+ if (queue->cur_level.bytes > 0) {
return gst_caps_copy (queue->negotiated_caps);
}
queue = GST_QUEUE (gst_pad_get_parent (pad));
- if (queue->queue->length > 0) {
+ if (queue->cur_level.bytes > 0) {
if (gst_caps_is_equal_fixed (caps, queue->negotiated_caps)) {
return GST_PAD_LINK_OK;
}