gint64 sink_time, src_time;
if (queue->sink_tainted) {
+ GST_LOG_OBJECT (queue, "update sink time");
queue->sinktime =
gst_segment_to_running_time (&queue->sink_segment, GST_FORMAT_TIME,
queue->sink_segment.position);
sink_time = queue->sinktime;
if (queue->src_tainted) {
+ GST_LOG_OBJECT (queue, "update src time");
queue->srctime =
gst_segment_to_running_time (&queue->src_segment, GST_FORMAT_TIME,
queue->src_segment.position);
segment.start = 1 * GST_SECOND;
segment.stop = 5 * GST_SECOND;
segment.time = 0;
+ segment.position = 1 * GST_SECOND;
event = gst_event_new_segment (&segment);
gst_pad_push_event (mysrcpad, event);
gst_pad_push_event (mysrcpad, event);
g_object_get (G_OBJECT (queue), "current-level-time", &time, NULL);
+ GST_DEBUG ("time now %" GST_TIME_FORMAT, GST_TIME_ARGS (time));
fail_if (time != 4 * GST_SECOND);
GST_DEBUG ("stopping");