plugins/elements/gstqueue.c: Disable code that's breaking the current-time-level reporting.

Original commit message from CVS:
* plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
Disable code that's breaking the current-time-level reporting.
See #482147
This commit is contained in:
Edward Hervey 2007-10-01 12:31:28 +00:00
parent 378af51b92
commit 296befc9c3
2 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2007-10-01 Edward Hervey <bilboed@bilboed.com>
* plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
Disable code that's breaking the current-time-level reporting.
See #482147
2007-09-30 Sebastian Dröge <slomo@circular-chaos.org> 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
* docs/gst/gstreamer-sections.txt: * docs/gst/gstreamer-sections.txt:

View file

@ -687,8 +687,12 @@ gst_queue_locked_dequeue (GstQueue * queue)
apply_buffer (queue, buffer, &queue->src_segment, TRUE); apply_buffer (queue, buffer, &queue->src_segment, TRUE);
/* if the queue is empty now, update the other side */ /* if the queue is empty now, update the other side */
if (queue->cur_level.buffers == 0) /* FIXME : This will only be useful for current time level if the
queue->cur_level.time = 0; * source task is running, which is not the case for ex in
* gstplaybasebin when pre-rolling.
* See #482147 */
/* if (queue->cur_level.buffers == 0) */
/* queue->cur_level.time = 0; */
} else if (GST_IS_EVENT (item)) { } else if (GST_IS_EVENT (item)) {
GstEvent *event = GST_EVENT_CAST (item); GstEvent *event = GST_EVENT_CAST (item);