mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
rtsp-stream: remove unused variable:
Fixes: ../gst/rtsp-server/rtsp-stream.c:2670:9: error: variable 'n_messages' set but not used [-Werror,-Wunused-but-set-variable] guint n_messages = 0; ^ Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2046>
This commit is contained in:
parent
b8a5e7a4e4
commit
67e364b34d
1 changed files with 0 additions and 5 deletions
|
@ -2667,7 +2667,6 @@ send_tcp_message (GstRTSPStream * stream, gint idx)
|
||||||
GstSample *sample;
|
GstSample *sample;
|
||||||
GstBuffer *buffer;
|
GstBuffer *buffer;
|
||||||
GstBufferList *buffer_list;
|
GstBufferList *buffer_list;
|
||||||
guint n_messages = 0;
|
|
||||||
gboolean is_rtp;
|
gboolean is_rtp;
|
||||||
GPtrArray *transports;
|
GPtrArray *transports;
|
||||||
|
|
||||||
|
@ -2699,10 +2698,6 @@ send_tcp_message (GstRTSPStream * stream, gint idx)
|
||||||
|
|
||||||
/* We will get one message-sent notification per buffer or
|
/* We will get one message-sent notification per buffer or
|
||||||
* complete buffer-list. We handle each buffer-list as a unit */
|
* complete buffer-list. We handle each buffer-list as a unit */
|
||||||
if (buffer)
|
|
||||||
n_messages += 1;
|
|
||||||
if (buffer_list)
|
|
||||||
n_messages += 1;
|
|
||||||
|
|
||||||
transports = priv->tr_cache;
|
transports = priv->tr_cache;
|
||||||
if (transports)
|
if (transports)
|
||||||
|
|
Loading…
Reference in a new issue