Fix timeout function signatures across tests and examples
authorAlistair Buxton <a.j.buxton@gmail.com>
Thu, 23 Apr 2015 17:53:08 +0000 (18:53 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 23 Apr 2015 18:12:18 +0000 (20:12 +0200)
examples/test-multicast.c
examples/test-multicast2.c
examples/test-sdp.c
examples/test-video-rtx.c
examples/test-video.c
tests/test-cleanup.c
tests/test-reuse.c

index c7d55fc..8ac821e 100644 (file)
@@ -23,7 +23,7 @@
 
 
 static gboolean
-timeout (GstRTSPServer * server, gboolean ignored)
+timeout (GstRTSPServer * server)
 {
   GstRTSPSessionPool *pool;
 
index 1d8e6f2..ef9e3d6 100644 (file)
@@ -23,7 +23,7 @@
 
 
 static gboolean
-timeout (GstRTSPServer * server, gboolean ignored)
+timeout (GstRTSPServer * server)
 {
   GstRTSPSessionPool *pool;
 
index 98efe9e..894d9bd 100644 (file)
@@ -23,7 +23,7 @@
 
 
 static gboolean
-timeout (GstRTSPServer * server, gboolean ignored)
+timeout (GstRTSPServer * server)
 {
   GstRTSPSessionPool *pool;
 
index 89b7778..5022feb 100644 (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;
 
index 0d4a3a5..087da08 100644 (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;
 
index 3b6f7f6..aa0d3a4 100644 (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;
index 67063a8..e29f556 100644 (file)
 
 #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");