From 602a0186397265c2446136e7d4ce7c47479d01d9 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Tue, 23 Dec 2014 22:23:21 +0000 Subject: cli: simplify setting geometry git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6650 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- test/test.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/test.c b/test/test.c index 67cf4c301..4277f8172 100644 --- a/test/test.c +++ b/test/test.c @@ -1721,9 +1721,7 @@ static int HandleEvents( hb_handle_t * h ) hb_geometry_t srcGeo, resultGeo; hb_geometry_settings_t uiGeo; - srcGeo.width = title->geometry.width; - srcGeo.height = title->geometry.height; - srcGeo.par = title->geometry.par; + srcGeo = title->geometry; keep_display_aspect |= anamorphic_mode != HB_ANAMORPHIC_CUSTOM; uiGeo.mode = anamorphic_mode; -- cgit v1.2.3