don't use if not declared
authorThomas Vander Stichele <thomas@apestaart.org>
Fri, 7 Oct 2005 15:13:25 +0000 (15:13 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Fri, 7 Oct 2005 15:13:25 +0000 (15:13 +0000)
Original commit message from CVS:
don't use if not declared

tools/gst-launch.c

index 2aa6377..38239e3 100644 (file)
@@ -360,7 +360,9 @@ event_loop (GstElement * pipeline, gboolean blocking)
 
   bus = gst_element_get_bus (GST_ELEMENT (pipeline));
 
+#ifndef DISABLE_FAULT_HANDLER
   g_timeout_add (50, (GSourceFunc) check_intr, pipeline);
+#endif
 
   while (TRUE) {
     message = gst_bus_poll (bus, GST_MESSAGE_ANY, blocking ? -1 : 0);