mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
rtsp-client: fix unused-but-set-variable compiler warning
rtsp-client.c:1260:21: error: variable 'protocols' set but not used
This commit is contained in:
parent
26ff5fc073
commit
290968eb8c
1 changed files with 0 additions and 2 deletions
|
@ -1257,7 +1257,6 @@ create_sdp (GstRTSPClient * client, GstRTSPMedia * media)
|
||||||
GstSDPMessage *sdp;
|
GstSDPMessage *sdp;
|
||||||
GstSDPInfo info;
|
GstSDPInfo info;
|
||||||
const gchar *proto;
|
const gchar *proto;
|
||||||
GstRTSPLowerTrans protocols;
|
|
||||||
|
|
||||||
gst_sdp_message_new (&sdp);
|
gst_sdp_message_new (&sdp);
|
||||||
|
|
||||||
|
@ -1280,7 +1279,6 @@ create_sdp (GstRTSPClient * client, GstRTSPMedia * media)
|
||||||
gst_sdp_message_add_attribute (sdp, "control", "*");
|
gst_sdp_message_add_attribute (sdp, "control", "*");
|
||||||
|
|
||||||
info.server_proto = proto;
|
info.server_proto = proto;
|
||||||
protocols = gst_rtsp_media_get_protocols (media);
|
|
||||||
info.server_ip = g_strdup (client->server_ip);
|
info.server_ip = g_strdup (client->server_ip);
|
||||||
|
|
||||||
/* create an SDP for the media object */
|
/* create an SDP for the media object */
|
||||||
|
|
Loading…
Reference in a new issue