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>
GstSample *sample;
GstBuffer *buffer;
GstBufferList *buffer_list;
- guint n_messages = 0;
gboolean is_rtp;
GPtrArray *transports;
/* 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)