summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2012-05-02 17:40:20 +0000
committerjstebbins <[email protected]>2012-05-02 17:40:20 +0000
commit9a9da73c3b9c0a21c085e73782acd39f8dc5e36f (patch)
tree2099da45f787e21cf18d6f5ff6d8fd5dd44578d3
parent80cc015bc52a754be547b95858d12dc664615fc9 (diff)
LinGui: fix incorrect PAR in loose anamorphic mode
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4629 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--gtk/src/hb-backend.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c
index b3ca4afa7..1c9d3f924 100644
--- a/gtk/src/hb-backend.c
+++ b/gtk/src/hb-backend.c
@@ -4744,18 +4744,16 @@ add_job(hb_handle_t *h, GValue *js, gint unique_id, gint titleindex)
job->modulus = ghb_settings_combo_int(js, "PictureModulus");
if (job->anamorphic.mode)
{
- job->anamorphic.par_width = title->pixel_aspect_width;
- job->anamorphic.par_height = title->pixel_aspect_height;
+ job->anamorphic.par_width =
+ ghb_settings_get_int(js, "PicturePARWidth");
+ job->anamorphic.par_height =
+ ghb_settings_get_int(js, "PicturePARHeight");
job->anamorphic.dar_width = 0;
job->anamorphic.dar_height = 0;
if (job->anamorphic.mode == 3 && !keep_aspect)
{
job->anamorphic.keep_display_aspect = 0;
- job->anamorphic.par_width =
- ghb_settings_get_int(js, "PicturePARWidth");
- job->anamorphic.par_height =
- ghb_settings_get_int(js, "PicturePARHeight");
}
else
{