+2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
+
+ * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
+ Update comment.
+
+ * libs/gst/base/gstbasetransform.c:
+ (gst_base_transform_handle_buffer),
+ (gst_base_transform_reconfigure):
+ Add some debug info.
+
+ * win32/common/libgstbase.def:
+ Add new method.
+
2008-10-19 Stefan Kost <ensonic@users.sf.net>
* libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
if (dest_format != seek_format && !relative_seek) {
/* If we have an ABSOLUTE position (SEEK_SET only), we can convert it
* here before taking the stream lock, otherwise we must convert it later,
- * once we have the stream lock and can read the current position */
+ * once we have the stream lock and can read the last configures segment
+ * start and stop positions */
gst_segment_init (&seeksegment, dest_format);
if (!gst_base_src_prepare_seek_segment (src, event, &seeksegment))
GST_OBJECT_UNLOCK (trans);
if (G_UNLIKELY (reconfigure)) {
+ GST_DEBUG_OBJECT (trans, "we had a pending reconfigure");
/* if we need to reconfigure we pretend a buffer with new caps arrived. This
* will reconfigure the transform with the new output format. We can only
* do this if the buffer actually has caps. */
g_return_if_fail (GST_IS_BASE_TRANSFORM (trans));
GST_OBJECT_LOCK (trans);
+ GST_DEBUG_OBJECT (trans, "marking reconfigure");
trans->priv->reconfigure = TRUE;
GST_OBJECT_UNLOCK (trans);
}
gst_adapter_push
gst_adapter_take
gst_adapter_take_buffer
+ gst_base_sink_do_preroll
gst_base_sink_get_blocksize
gst_base_sink_get_last_buffer
gst_base_sink_get_latency