summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-12-23 22:23:21 +0000
committerjstebbins <[email protected]>2014-12-23 22:23:21 +0000
commit602a0186397265c2446136e7d4ce7c47479d01d9 (patch)
treec065005e954fec76fb4fdb31d93d93e0461bfe7f /test
parentfb8da137e4c4fcdf82483d779db2ca64d87e6f53 (diff)
cli: simplify setting geometry
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6650 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r--test/test.c4
1 files changed, 1 insertions, 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;