diff options
author | Christian König <[email protected]> | 2013-05-08 17:03:01 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2013-05-14 15:16:15 +0200 |
commit | e195d301aeb50a33cc20b208900164a97524bef4 (patch) | |
tree | c74727d0ecacb1289fb00b934b482c4f24d46949 /src/gallium/state_trackers/vdpau/vdpau_private.h | |
parent | 176ad54c04f5b945e47b61a3cad4b6c87d883a41 (diff) |
vl/vdpau: fix PresentationQueueQuerySurfaceStatus
The last queued surface always keeps displaying.
Fixing a problem with XBMC.
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vdpau/vdpau_private.h')
-rw-r--r-- | src/gallium/state_trackers/vdpau/vdpau_private.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/gallium/state_trackers/vdpau/vdpau_private.h b/src/gallium/state_trackers/vdpau/vdpau_private.h index 918a6c20a09..716d2180a6e 100644 --- a/src/gallium/state_trackers/vdpau/vdpau_private.h +++ b/src/gallium/state_trackers/vdpau/vdpau_private.h @@ -323,19 +323,6 @@ typedef struct typedef struct { vlVdpDevice *device; - Drawable drawable; -} vlVdpPresentationQueueTarget; - -typedef struct -{ - vlVdpDevice *device; - Drawable drawable; - struct vl_compositor_state cstate; -} vlVdpPresentationQueue; - -typedef struct -{ - vlVdpDevice *device; struct vl_compositor_state cstate; struct { @@ -375,7 +362,6 @@ typedef uint64_t vlVdpTime; typedef struct { - vlVdpTime timestamp; vlVdpDevice *device; struct pipe_surface *surface; struct pipe_sampler_view *sampler_view; @@ -387,6 +373,20 @@ typedef struct typedef struct { vlVdpDevice *device; + Drawable drawable; +} vlVdpPresentationQueueTarget; + +typedef struct +{ + vlVdpDevice *device; + Drawable drawable; + struct vl_compositor_state cstate; + vlVdpOutputSurface *last_surf; +} vlVdpPresentationQueue; + +typedef struct +{ + vlVdpDevice *device; struct pipe_video_decoder *decoder; } vlVdpDecoder; |