From fa785f3a8d5ce1b71856b775c7cbca355193baa0 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Fri, 22 Feb 2013 20:49:01 +0100 Subject: [PATCH] Fix aspect ratio. --- src/gst/parole-gst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gst/parole-gst.c b/src/gst/parole-gst.c index 47f41a3..1e5689e 100644 --- a/src/gst/parole-gst.c +++ b/src/gst/parole-gst.c @@ -359,7 +359,7 @@ parole_gst_get_video_output_size (ParoleGst *gst, gint *ret_w, gint *ret_h) else { *ret_w = (guint) gst_util_uint64_scale (video_h, dar_n, dar_d); - *ret_h = video_w; + *ret_h = video_h; } TRACE ("Got best video size %dx%d fraction, %d/%d\n", *ret_w, *ret_h, disp_par_n, disp_par_d); } -- 1.8.1.3