From 46b1a61af42509f6925d5d17ed05cbdd38cea059 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Fri, 7 Oct 2005 15:13:25 +0000 Subject: [PATCH] don't use if not declared Original commit message from CVS: don't use if not declared --- tools/gst-launch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/gst-launch.c b/tools/gst-launch.c index 2aa6377..38239e3 100644 --- a/tools/gst-launch.c +++ b/tools/gst-launch.c @@ -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); -- 2.7.4