GstPad *target;
} dyn_connect;
+static void have_eos (void)
+{
+ DEBUG ("I have eos on the first element\n");
+ exit (0);
+}
+
static void
dynamic_connect (GstElement *element, GstPad *newpad, gpointer data)
{
}
+ // thomas: if we're the first element, connect eos signal
+ if (elementcount == 1)
+ {
+ gtk_signal_connect (GTK_OBJECT (element), "eos",
+ GTK_SIGNAL_FUNC (have_eos), NULL);
+
+ }
// if we're the first element, ghost all the sinkpads
if (elementcount == 1) {
DEBUG("first element, ghosting all of %s's sink pads to parent %s\n",
return i;
}
+