remove debug

Original commit message from CVS:
remove debug
This commit is contained in:
Steve Baker 2002-12-01 01:42:48 +00:00
parent 5b920bb458
commit 6c751c7cd4
2 changed files with 0 additions and 4 deletions

View file

@ -313,7 +313,6 @@ gst_spider_connection_new (GstSpiderIdentity *src)
conn->src = src; conn->src = src;
conn->path = NULL; conn->path = NULL;
conn->current = (GstElement *) spider->sink_ident; conn->current = (GstElement *) spider->sink_ident;
g_print("creating new connection\n");
spider->connections = g_list_prepend (spider->connections, conn); spider->connections = g_list_prepend (spider->connections, conn);
return conn; return conn;

View file

@ -174,12 +174,10 @@ gst_spider_identity_chain (GstPad *pad, GstBuffer *buf)
{ {
GstSpider *spider = (GstSpider *) GST_OBJECT_PARENT (ident); GstSpider *spider = (GstSpider *) GST_OBJECT_PARENT (ident);
GList *list = spider->connections; GList *list = spider->connections;
g_print("have EOS in chain\n");
while (list) while (list)
{ {
GstSpiderConnection *conn = (GstSpiderConnection *) list->data; GstSpiderConnection *conn = (GstSpiderConnection *) list->data;
list = g_list_next (list); list = g_list_next (list);
g_print("forwarding EOS to conn\n");
gst_element_set_eos (GST_ELEMENT (conn->src)); gst_element_set_eos (GST_ELEMENT (conn->src));
gst_pad_push (conn->src->src, GST_BUFFER (gst_event_new (GST_EVENT_EOS))); gst_pad_push (conn->src->src, GST_BUFFER (gst_event_new (GST_EVENT_EOS)));
} }
@ -442,7 +440,6 @@ gst_spider_identity_sink_loop_type_finding (GstSpiderIdentity *ident)
switch (GST_EVENT_TYPE (GST_EVENT (buf))){ switch (GST_EVENT_TYPE (GST_EVENT (buf))){
case GST_EVENT_EOS: case GST_EVENT_EOS:
getmorebuf = FALSE; getmorebuf = FALSE;
g_print("have EOS\n");
/* FIXME Notify the srcs that EOS has happened */ /* FIXME Notify the srcs that EOS has happened */
gst_pad_event_default (ident->sink, GST_EVENT (buf)); gst_pad_event_default (ident->sink, GST_EVENT (buf));
break; break;