summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vdpau/presentation.c
diff options
context:
space:
mode:
authorEmeric Grange <[email protected]>2011-09-12 23:39:29 +0200
committerChristian König <[email protected]>2011-09-14 15:49:16 +0200
commitc24bc6f8684abee8c9a1b263334cd7a8506657b1 (patch)
tree4cf3ac9347e521f63350c0778bca9ec8f4778499 /src/gallium/state_trackers/vdpau/presentation.c
parent87e84a2dbfb5ee330d4d5594963d7f8b507f9984 (diff)
st/vdpau: Various whitespace cleanups found while reading some code
Signed-off-by: Emeric Grange <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vdpau/presentation.c')
-rw-r--r--src/gallium/state_trackers/vdpau/presentation.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/vdpau/presentation.c b/src/gallium/state_trackers/vdpau/presentation.c
index 4417d71271b..ba5a15a3f63 100644
--- a/src/gallium/state_trackers/vdpau/presentation.c
+++ b/src/gallium/state_trackers/vdpau/presentation.c
@@ -77,6 +77,7 @@ vlVdpPresentationQueueCreate(VdpDevice device,
}
return VDP_STATUS_OK;
+
no_handle:
no_compositor:
FREE(pq);
@@ -179,11 +180,11 @@ vlVdpPresentationQueueDisplay(VdpPresentationQueue presentation_queue,
vl_contextprivate_get(pq->device->context, drawable_surface)
);
- if(dump_window == -1) {
+ if (dump_window == -1) {
dump_window = debug_get_num_option("VDPAU_DUMP", 0);
}
- if(dump_window) {
+ if (dump_window) {
static unsigned int framenum = 0;
char cmd[256];
@@ -191,7 +192,7 @@ vlVdpPresentationQueueDisplay(VdpPresentationQueue presentation_queue,
if (system(cmd) != 0)
VDPAU_MSG(VDPAU_TRACE, "[VDPAU] Dumping surface %d failed.\n", surface);
}
-
+
pipe_surface_reference(&drawable_surface, NULL);
return VDP_STATUS_OK;