From ed27d67266685e18bff38cafb44e65a4ca339128 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Wed, 22 Jan 2003 11:44:44 +0000 Subject: [PATCH] scramble fixes Original commit message from CVS: scramble fixes --- tools/gst-launch.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/gst-launch.c b/tools/gst-launch.c index 035d490008..d73338e4f9 100644 --- a/tools/gst-launch.c +++ b/tools/gst-launch.c @@ -17,9 +17,11 @@ idle_func (gpointer data) GTimeVal tfthen, tfnow; GstClockTimeDiff diff; + /* if (s_clock) { - //g_print ("%lld\n", gst_clock_get_time (s_clock)); + g_print ("%lld\n", gst_clock_get_time (s_clock)); } + */ g_get_current_time (&tfthen); busy = gst_bin_iterate (GST_BIN (data)); @@ -114,6 +116,10 @@ fault_handler (int signum, siginfo_t *si, void *misc) { int spinning = TRUE; + /* dolphy has seen si == NULL; + * that doesn't seem like a good idea, does it ? */ + g_assert (si); + fault_restore (); if (si->si_signo == SIGSEGV) {