Check if we've been interrupted only four times per second instead
of twenty times per second, to wake up the cpu less often and
save power (see bug #600922).
caught_intr = TRUE;
}
-/* is called every 50 milliseconds (20 times a second), the interrupt handler
+/* is called every 250 milliseconds (4 times a second), the interrupt handler
* will set a flag for us. We react to this by posting a message. */
static gboolean
check_intr (GstElement * pipeline)
bus = gst_element_get_bus (GST_ELEMENT (pipeline));
#ifndef DISABLE_FAULT_HANDLER
- g_timeout_add (50, (GSourceFunc) check_intr, pipeline);
+ g_timeout_add (250, (GSourceFunc) check_intr, pipeline);
#endif
while (TRUE) {