mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
gst/rtsp/test.c: Fix build.
Original commit message from CVS: * gst/rtsp/test.c: (main): Fix build.
This commit is contained in:
parent
db4d1f89f6
commit
cdbd5ca170
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-09-19 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/rtsp/test.c: (main):
|
||||
Fix build.
|
||||
|
||||
2006-09-19 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/wavparse/gstwavparse.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);
|
||||
|
|
Loading…
Reference in a new issue