Move RedUpgradeItem declaration in video-stream.h

This structure is used to send a message related to streams.
There are already other items defined in video-stream.h so
move the declaration.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
Frediano Ziglio 2017-12-08 15:47:08 +00:00
parent b25091801c
commit 07396a4c80
2 changed files with 6 additions and 6 deletions

View File

@ -178,12 +178,6 @@ typedef struct RedSurfaceDestroyItem {
SpiceMsgSurfaceDestroy surface_destroy;
} RedSurfaceDestroyItem;
typedef struct RedUpgradeItem {
RedPipeItem base;
Drawable *drawable;
SpiceClipRects *rects;
} RedUpgradeItem;
static inline int is_equal_path(SpicePath *path1, SpicePath *path2)
{
SpicePathSeg *seg1, *seg2;

View File

@ -45,6 +45,12 @@
typedef struct VideoStream VideoStream;
typedef struct RedUpgradeItem {
RedPipeItem base;
Drawable *drawable;
SpiceClipRects *rects;
} RedUpgradeItem;
typedef struct RedStreamActivateReportItem {
RedPipeItem pipe_item;
uint32_t stream_id;