Fix timeout function signatures across tests and examples

This commit is contained in:
Alistair Buxton 2015-04-23 18:53:08 +01:00 committed by Sebastian Dröge
parent 753f8a8ac9
commit eb7705a48d
7 changed files with 9 additions and 9 deletions

View file

@ -23,7 +23,7 @@
static gboolean
timeout (GstRTSPServer * server, gboolean ignored)
timeout (GstRTSPServer * server)
{
GstRTSPSessionPool *pool;

View file

@ -23,7 +23,7 @@
static gboolean
timeout (GstRTSPServer * server, gboolean ignored)
timeout (GstRTSPServer * server)
{
GstRTSPSessionPool *pool;

View file

@ -23,7 +23,7 @@
static gboolean
timeout (GstRTSPServer * server, gboolean ignored)
timeout (GstRTSPServer * server)
{
GstRTSPSessionPool *pool;

View file

@ -25,7 +25,7 @@
* pool. This needs to be run explicitly currently but might be done
* automatically as part of the mainloop. */
static gboolean
timeout (GstRTSPServer * server, gboolean ignored)
timeout (GstRTSPServer * server)
{
GstRTSPSessionPool *pool;

View file

@ -33,7 +33,7 @@
* pool. This needs to be run explicitly currently but might be done
* automatically as part of the mainloop. */
static gboolean
timeout (GstRTSPServer * server, gboolean ignored)
timeout (GstRTSPServer * server)
{
GstRTSPSessionPool *pool;

View file

@ -22,7 +22,7 @@
#include <gst/rtsp-server/rtsp-server.h>
static gboolean
timeout (GMainLoop * loop, gboolean ignored)
timeout (GMainLoop * loop)
{
g_main_loop_quit (loop);
return FALSE;

View file

@ -23,14 +23,14 @@
#define TIMEOUT 2
static gboolean timeout_1 (GMainLoop * loop, gboolean ignored);
static gboolean timeout_1 (GMainLoop * loop);
static guint id;
static gint rounds = 3;
static GstRTSPServer *server;
static gboolean
timeout_2 (GMainLoop * loop, gboolean ignored)
timeout_2 (GMainLoop * loop)
{
rounds--;
if (rounds > 0) {
@ -44,7 +44,7 @@ timeout_2 (GMainLoop * loop, gboolean ignored)
}
static gboolean
timeout_1 (GMainLoop * loop, gboolean ignored)
timeout_1 (GMainLoop * loop)
{
g_source_remove (id);
g_print ("have removed\n");