[Spice-commits] server/video-stream.c server/video-stream.h

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Mar 2 07:30:45 UTC 2020


 server/video-stream.c |    3 +++
 server/video-stream.h |    2 --
 2 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 0bb564fdca0f7e4ff7c73bed776f1a9d29d51147
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Thu Dec 19 19:30:18 2019 +0000

    video-stream: Make video_stream*_unref static
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Snir Sheriber <ssheribe at redhat.com>

diff --git a/server/video-stream.c b/server/video-stream.c
index 6714d780..4a063c78 100644
--- a/server/video-stream.c
+++ b/server/video-stream.c
@@ -25,6 +25,9 @@
 #define FOREACH_STREAMS(display, item)                  \
     RING_FOREACH(item, &(display)->priv->streams)
 
+static void video_stream_unref(DisplayChannel *display, VideoStream *stream);
+static void video_stream_agent_unref(DisplayChannel *display, VideoStreamAgent *agent);
+
 static void video_stream_agent_stats_print(VideoStreamAgent *agent)
 {
 #ifdef STREAM_STATS
diff --git a/server/video-stream.h b/server/video-stream.h
index 73435515..409522db 100644
--- a/server/video-stream.h
+++ b/server/video-stream.h
@@ -138,7 +138,6 @@ struct VideoStream {
 
 void display_channel_init_video_streams(DisplayChannel *display);
 void video_stream_stop(DisplayChannel *display, VideoStream *stream);
-void video_stream_unref(DisplayChannel *display, VideoStream *stream);
 void video_stream_trace_update(DisplayChannel *display, Drawable *drawable);
 void video_stream_maintenance(DisplayChannel *display, Drawable *candidate,
                               Drawable *prev);
@@ -149,7 +148,6 @@ void video_stream_detach_behind(DisplayChannel *display, QRegion *region,
                                 Drawable *drawable);
 GArray *video_stream_parse_preferred_codecs(SpiceMsgcDisplayPreferredVideoCodecType *msg);
 
-void video_stream_agent_unref(DisplayChannel *display, VideoStreamAgent *agent);
 void video_stream_agent_stop(VideoStreamAgent *agent);
 
 void video_stream_detach_drawable(VideoStream *stream);


More information about the Spice-commits mailing list