+2008-03-14 Wim Taymans <wim.taymans@collabora.co.uk>
+
+ * gst/playback/gststreamselector.c: (gst_selector_pad_event),
+ (gst_selector_pad_chain):
+ * gst/playback/gststreamselector.h:
+ Revert change that caused regression until a real fix is found.
+ Fixes #522203.
+
2008-03-12 Michael Smith <msmith@fluendo.com>
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_parse_caps):
gst_segment_set_newsegment_full (&selpad->segment, update,
rate, arate, format, start, stop, time);
- /* mark pending segment if we are not forwarding, we assume all pads share
- * the same segment so we only forward once. */
+ /* if we are not going to forward the segment, mark the segment as
+ * pending */
if (!forward)
- sel->segment_pending = TRUE;
+ selpad->segment_pending = TRUE;
break;
}
case GST_EVENT_TAG:
goto ignore;
/* if we have a pending segment, push it out now */
- if (sel->segment_pending) {
+ if (selpad->segment_pending) {
gst_pad_push_event (sel->srcpad, gst_event_new_new_segment_full (FALSE,
seg->rate, seg->applied_rate, seg->format, seg->start, seg->stop,
seg->time));
- sel->segment_pending = FALSE;
+ selpad->segment_pending = FALSE;
}
/* forward */
res = GST_FLOW_NOT_LINKED;
goto done;
}
-
}
static void gst_stream_selector_dispose (GObject * object);