mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +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;
|
||||
GstBuffer *buffer;
|
||||
GstBufferList *buffer_list;
|
||||
guint n_messages = 0;
|
||||
gboolean is_rtp;
|
||||
GPtrArray *transports;
|
||||
|
||||
|
@ -2699,10 +2698,6 @@ send_tcp_message (GstRTSPStream * stream, gint idx)
|
|||
|
||||
/* We will get one message-sent notification per buffer or
|
||||
* 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;
|
||||
if (transports)
|
||||
|
|
Loading…
Reference in a new issue