diff options
author | wm4 <wm4@nowhere> | 2015-12-26 19:38:38 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-12-26 19:38:38 +0100 |
commit | 7df475f8607ef487663421b43575e94e2c144e74 (patch) | |
tree | 07a2bf7a81bd234f73af8c5212246c067d250ab1 /video | |
parent | aa587580c83f909b71f7b3f56ecb986e7ba6d5a1 (diff) | |
download | mpv-7df475f8607ef487663421b43575e94e2c144e74.tar.bz2 mpv-7df475f8607ef487663421b43575e94e2c144e74.tar.xz |
vo_rpi: fix previous commit
Meh. Fixes #2639.
Diffstat (limited to 'video')
-rw-r--r-- | video/out/vo_rpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_rpi.c b/video/out/vo_rpi.c index 39201d2974..9750bc3cf7 100644 --- a/video/out/vo_rpi.c +++ b/video/out/vo_rpi.c @@ -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)) |