mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
tests: fix tests
gst_rtsp_client_get_uri() has been removed Fixes https://bugzilla.gnome.org/show_bug.cgi?id=703173
This commit is contained in:
parent
ffd4b1aaf1
commit
ffefd9e80b
1 changed files with 0 additions and 14 deletions
|
@ -247,8 +247,6 @@ GST_START_TEST (test_describe)
|
|||
GstRTSPClient *client;
|
||||
GstRTSPMessage request = { 0, };
|
||||
gchar *str;
|
||||
GstRTSPUrl *uri_client;
|
||||
gchar *uri_str;
|
||||
|
||||
client = gst_rtsp_client_new ();
|
||||
|
||||
|
@ -264,11 +262,6 @@ GST_START_TEST (test_describe)
|
|||
&request) == GST_RTSP_OK);
|
||||
gst_rtsp_message_unset (&request);
|
||||
|
||||
uri_client = gst_rtsp_client_get_uri (client);
|
||||
fail_unless (uri_client == NULL);
|
||||
gst_rtsp_url_free (uri_client);
|
||||
|
||||
|
||||
g_object_unref (client);
|
||||
|
||||
/* simple DESCRIBE for an existing url */
|
||||
|
@ -284,13 +277,6 @@ GST_START_TEST (test_describe)
|
|||
&request) == GST_RTSP_OK);
|
||||
gst_rtsp_message_unset (&request);
|
||||
|
||||
uri_client = gst_rtsp_client_get_uri (client);
|
||||
fail_unless (uri_client != NULL);
|
||||
uri_str = gst_rtsp_url_get_request_uri (uri_client);
|
||||
gst_rtsp_url_free (uri_client);
|
||||
fail_unless (g_strcmp0 (uri_str, "rtsp://localhost/test") == 0);
|
||||
g_free (uri_str);
|
||||
|
||||
g_object_unref (client);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue