mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 14:41:25 +00:00
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:
parent
68c514e1fa
commit
0bb564fdca
@ -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
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user