mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
fix compiler warnings about unused variables
This commit is contained in:
parent
40c7bb6386
commit
93fb73b46f
2 changed files with 3 additions and 4 deletions
|
@ -1666,9 +1666,9 @@ message_received (GstRTSPWatch * watch, GstRTSPMessage * message,
|
|||
static GstRTSPResult
|
||||
message_sent (GstRTSPWatch * watch, guint cseq, gpointer user_data)
|
||||
{
|
||||
GstRTSPClient *client;
|
||||
/* GstRTSPClient *client; */
|
||||
|
||||
client = GST_RTSP_CLIENT (user_data);
|
||||
/* client = GST_RTSP_CLIENT (user_data); */
|
||||
|
||||
/* GST_INFO ("client %p: sent a message with cseq %d", client, cseq); */
|
||||
|
||||
|
|
|
@ -1842,7 +1842,6 @@ gst_rtsp_media_set_state (GstRTSPMedia * media, GstState state,
|
|||
GArray * transports)
|
||||
{
|
||||
gint i;
|
||||
GstStateChangeReturn ret;
|
||||
gboolean add, remove, do_state;
|
||||
gint old_active;
|
||||
|
||||
|
@ -1961,7 +1960,7 @@ gst_rtsp_media_set_state (GstRTSPMedia * media, GstState state,
|
|||
GST_INFO ("state %s media %p", gst_element_state_get_name (state),
|
||||
media);
|
||||
media->target_state = state;
|
||||
ret = gst_element_set_state (media->pipeline, state);
|
||||
gst_element_set_state (media->pipeline, state);
|
||||
}
|
||||
}
|
||||
g_signal_emit (media, gst_rtsp_media_signals[SIGNAL_NEW_STATE], 0, state,
|
||||
|
|
Loading…
Reference in a new issue