summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorMichael Vetter <g.bluehut@gmail.com>2015-05-15 10:34:39 +0200
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-05-15 19:16:47 +0900
commit6eab622e7b89a9aac8885e942b25f55a7035b118 (patch)
treea3ca7935c86940614a1610c57401d78037c5c6d7 /video
parent6a5f3c39282f606217155459bb251adec003803e (diff)
downloadmpv-6eab622e7b89a9aac8885e942b25f55a7035b118.tar.bz2
mpv-6eab622e7b89a9aac8885e942b25f55a7035b118.tar.xz
Remove trailing whitespaces
(cherry picked from commit 9251fa125f6ebc0f485c93af1809efb7b6da19bd)
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