video-stream: Make video_stream*_unref static

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Snir Sheriber <ssheribe@redhat.com>
This commit is contained in:
Frediano Ziglio 2019-12-19 19:30:18 +00:00
parent 68c514e1fa
commit 0bb564fdca
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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);