summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorMichael Vetter <g.bluehut@gmail.com>2015-05-15 10:34:39 +0200
committerwm4 <wm4@nowhere>2015-05-15 11:02:44 +0200
commit9251fa125f6ebc0f485c93af1809efb7b6da19bd (patch)
tree5c5fb05ef692115083a28cb42718a01447150b1a /video
parent24f98d1aaf347119b8b3a48e2736755d82a0f508 (diff)
downloadmpv-9251fa125f6ebc0f485c93af1809efb7b6da19bd.tar.bz2
mpv-9251fa125f6ebc0f485c93af1809efb7b6da19bd.tar.xz
Remove trailing whitespaces
Diffstat (limited to 'video')
-rw-r--r--video/filter/vf_vavpp.c4
-rw-r--r--video/out/wayland/buffer.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/video/filter/vf_vavpp.c b/video/filter/vf_vavpp.c
index be7f7f4dad..f3ca627ac2 100644
--- a/video/filter/vf_vavpp.c
+++ b/video/filter/vf_vavpp.c
@@ -163,14 +163,14 @@ static struct mp_image *render(struct vf_instance *vf, struct mp_image *in,
status = vaMapBuffer(p->display, buffer, (void**)&param);
if (!check_error(vf, status, "vaMapBuffer()"))
break;
-
+
VAProcFilterParameterBufferDeinterlacing *filter_params;
status = vaMapBuffer(p->display, *(p->pipe.filters), (void**)&filter_params);
if (!check_error(vf, status, "vaMapBuffer()"))
break;
filter_params->flags = flags & VA_TOP_FIELD ? 0 : VA_DEINTERLACING_BOTTOM_FIELD;
vaUnmapBuffer(p->display, *(p->pipe.filters));
-
+
param->surface = in_id;
param->surface_region = NULL;
param->output_region = NULL;
diff --git a/video/out/wayland/buffer.h b/video/out/wayland/buffer.h
index 04e94b9d7f..5bd2d9aab8 100644
--- a/video/out/wayland/buffer.h
+++ b/video/out/wayland/buffer.h
@@ -88,7 +88,7 @@ shm_buffer_t* shm_buffer_create(uint32_t width,
// shm pool is only able to grow and won't shrink
// returns 0 on success or buffer flags indicating the buffer status which
-// prevent it from resizing
+// prevent it from resizing
int shm_buffer_resize(shm_buffer_t *buffer, uint32_t width, uint32_t height);
// if shm_buffer_resize returns SHM_BUFFER_BUSY this function can be called