summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
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