summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-07-28 01:10:04 +0000
committerjstebbins <[email protected]>2014-07-28 01:10:04 +0000
commit6dc3dd8351bec754610bbed5fff5bfe3f5738b01 (patch)
tree5450989300b27f2fad0b82e8c42f19c59f6d5099 /test
parent0b297972d7bdd4448f29db4e06a1d68af74bfab9 (diff)
cli: always keep display aspect unless using custom anamorphic mode
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6240 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r--test/test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test.c b/test/test.c
index 0c3b0ab74..482608e1b 100644
--- a/test/test.c
+++ b/test/test.c
@@ -1728,6 +1728,7 @@ static int HandleEvents( hb_handle_t * h )
srcGeo.par.num = title->pixel_aspect_width;
srcGeo.par.den = title->pixel_aspect_height;
+ keep_display_aspect |= anamorphic_mode != HB_ANAMORPHIC_CUSTOM;
uiGeo.mode = job->anamorphic.mode = anamorphic_mode;
job->anamorphic.keep_display_aspect = keep_display_aspect;
uiGeo.keep = !!keep_display_aspect * HB_KEEP_DISPLAY_ASPECT;