summaryrefslogtreecommitdiff
path: root/src/sig_handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sig_handler.c')
-rw-r--r--src/sig_handler.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/sig_handler.c b/src/sig_handler.c
index c4b94b6..1597276 100644
--- a/src/sig_handler.c
+++ b/src/sig_handler.c
@@ -5,8 +5,8 @@
* channels from one dvb device and provides the streams via minimal http.
*
*
- * Copyright (C) 2011 Christian Pointner <equinox@spreadspace.org>
- *
+ * Copyright (C) 2011-2016 Christian Pointner <equinox@spreadspace.org>
+ *
* This file is part of gstdvbbackend.
*
* gstdvbbackend is free software: you can redistribute it and/or modify
@@ -89,18 +89,18 @@ static gpointer signal_thread_func(gpointer data)
}
}
}
-
- return NULL;
+
+ return NULL;
}
int signal_start(GMainLoop *loop)
{
- g_assert(!signal_thread);
+ g_assert(!signal_thread);
+
+ signal_thread = g_thread_create_full(signal_thread_func, loop, 8192, FALSE, TRUE, G_THREAD_PRIORITY_HIGH, NULL);
+ if(!signal_thread)
+ return -1;
- signal_thread = g_thread_create_full(signal_thread_func, loop, 8192, FALSE, TRUE, G_THREAD_PRIORITY_HIGH, NULL);
- if(!signal_thread)
- return -1;
-
return 0;
}