summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-06-08 14:29:41 +0000
committerjstebbins <[email protected]>2009-06-08 14:29:41 +0000
commit5269bc81a55b80ee1d4fbbaa85803270115f7a40 (patch)
tree99c35c920b4d2e10e0e8fd6a5bb65ae2050871dd
parent46db4a42c5f2ac3cf311295130141ed8e05bd1a2 (diff)
LinGui: forgot to set keep_display_aspect when setting up and encode job
was only setting it for previews. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2500 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--gtk/src/hb-backend.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c
index 6d7887366..0361cb720 100644
--- a/gtk/src/hb-backend.c
+++ b/gtk/src/hb-backend.c
@@ -2996,11 +2996,13 @@ ghb_set_scale(signal_user_data_t *ud, gint mode)
}
job->anamorphic.dar_width = dar_width;
job->anamorphic.dar_height = dar_height;
+ job->anamorphic.keep_display_aspect = 0;
}
else
{
job->anamorphic.dar_width = 0;
job->anamorphic.dar_height = 0;
+ job->anamorphic.keep_display_aspect = 1;
}
hb_set_anamorphic_size( job, &width, &height,
&par_width, &par_height );