plugins/elements/gstqueue.c: Comment the segment-related code... in the PROPER function.

Original commit message from CVS:
* plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
(gst_queue_locked_dequeue):
Comment the segment-related code... in the PROPER function.
See #482147 and my commit from yesterday.
This commit is contained in:
Edward Hervey 2007-10-02 09:21:48 +00:00
parent 03cce63d25
commit 3a63262829
2 changed files with 15 additions and 8 deletions

View file

@ -1,3 +1,10 @@
2007-10-02 Edward Hervey <bilboed@bilboed.com>
* plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
(gst_queue_locked_dequeue):
Comment the segment-related code... in the PROPER function.
See #482147 and my commit from yesterday.
2007-10-01 Wim Taymans <wim.taymans@gmail.com> 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
* libs/gst/base/gstbasesrc.c: (gst_base_src_change_state): * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):

View file

@ -631,8 +631,12 @@ gst_queue_locked_enqueue (GstQueue * queue, gpointer item)
/* if this is the first buffer update the end side as well, but without the /* if this is the first buffer update the end side as well, but without the
* duration. */ * duration. */
if (queue->cur_level.buffers == 1) /* FIXME : This will only be useful for current time level if the
apply_buffer (queue, buffer, &queue->src_segment, FALSE); * source task is running, which is not the case for ex in
* gstplaybasebin when pre-rolling.
* See #482147 */
/* if (queue->cur_level.buffers == 1) */
/* apply_buffer (queue, buffer, &queue->src_segment, FALSE); */
} else if (GST_IS_EVENT (item)) { } else if (GST_IS_EVENT (item)) {
GstEvent *event = GST_EVENT_CAST (item); GstEvent *event = GST_EVENT_CAST (item);
@ -687,12 +691,8 @@ 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 */
/* FIXME : This will only be useful for current time level if the if (queue->cur_level.buffers == 0)
* source task is running, which is not the case for ex in queue->cur_level.time = 0;
* 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);