From cdbd5ca1704398574665a634950b9023662b4167 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 19 Sep 2006 10:53:56 +0000 Subject: [PATCH] gst/rtsp/test.c: Fix build. Original commit message from CVS: * gst/rtsp/test.c: (main): Fix build. --- ChangeLog | 5 +++++ gst/rtsp/test.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7b3c5ec9eb..7c85b44d4e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-09-19 Wim Taymans + + * gst/rtsp/test.c: (main): + Fix build. + 2006-09-19 Wim Taymans * gst/wavparse/gstwavparse.c: diff --git a/gst/rtsp/test.c b/gst/rtsp/test.c index 4cf1dab374..3e2f2fddd3 100644 --- a/gst/rtsp/test.c +++ b/gst/rtsp/test.c @@ -57,7 +57,7 @@ main (int argc, gchar * argv[]) /* do describe */ { - res = rtsp_message_init_request (RTSP_DESCRIBE, urlstr, &request); + res = rtsp_message_init_request (&request, RTSP_DESCRIBE, urlstr); if (res != RTSP_OK) { g_print ("error creating request\n"); return (-1); @@ -110,7 +110,7 @@ main (int argc, gchar * argv[]) setup_url = g_strdup_printf ("%s/%s", urlstr, control_url); g_print ("setup %s\n", setup_url); - res = rtsp_message_init_request (RTSP_SETUP, setup_url, &request); + res = rtsp_message_init_request (&request, RTSP_SETUP, setup_url); if (res != RTSP_OK) { g_print ("error creating request\n"); return (-1); @@ -137,7 +137,7 @@ main (int argc, gchar * argv[]) } /* do play */ { - res = rtsp_message_init_request (RTSP_PLAY, urlstr, &request); + res = rtsp_message_init_request (&request, RTSP_PLAY, urlstr); if (res != RTSP_OK) { g_print ("error creating request\n"); return (-1);