1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 23:02:37 +00:00

vo_rpi: fix previous commit

Meh. Fixes #2639.
This commit is contained in:
wm4 2015-12-26 19:38:38 +01:00
parent aa587580c8
commit 7df475f860

View File

@ -459,7 +459,7 @@ static int reconfig(struct vo *vo, struct mp_image_params *params)
input->format->es->video.width = MP_ALIGN_UP(params->w, ALIGN_W);
input->format->es->video.height = MP_ALIGN_UP(params->h, ALIGN_H);
input->format->es->video.crop = (MMAL_RECT_T){0, 0, params->w, params->h};
input->format->es->video.par = (MMAL_RATIONAL_T){params->p_w, params->d_w};
input->format->es->video.par = (MMAL_RATIONAL_T){params->p_w, params->p_h};
input->format->es->video.color_space = map_csp(params->colorspace);
if (mmal_port_format_commit(input))