rendered paste bodyIndex: gnlcomposition.c
===================================================================
RCS file: /cvs/gstreamer/gnonlin/gnl/gnlcomposition.c,v
retrieving revision 1.71
diff -u -r1.71 gnlcomposition.c
--- gnlcomposition.c 23 Jul 2007 16:45:03 -0000 1.71
+++ gnlcomposition.c 29 Mar 2008 20:15:28 -0000
@@ -1385,12 +1385,14 @@
/* 2. send pending seek */
if (comp->private->childseek) {
+ GstEvent * ev = comp->private->childseek;
+ comp->private->childseek = NULL;
+
GST_INFO_OBJECT (comp, "Sending pending seek for %s",
GST_OBJECT_NAME (object));
- if (!(gst_pad_send_event (tpad, comp->private->childseek)))
+ if (!(gst_pad_send_event (tpad, ev)))
GST_ERROR_OBJECT (comp, "Sending seek event failed!");
}
- comp->private->childseek = NULL;
/* 3. unblock ghostpad */
GST_LOG_OBJECT (comp, "About to unblock top-level pad : %s:%s",