mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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:
parent
378af51b92
commit
296befc9c3
2 changed files with 12 additions and 2 deletions
|
@ -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:
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue