]> granicus.if.org Git - handbrake/commitdiff
LinGui: fix a problem with setting proper picture dimensions when title changed
authorjstebbins <jstebbins.hb@gmail.com>
Sun, 26 Oct 2008 21:01:38 +0000 (21:01 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Sun, 26 Oct 2008 21:01:38 +0000 (21:01 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1869 b64f7644-9d1e-0410-96f1-a4d463321fa5

gtk/src/callbacks.c
gtk/src/hb-backend.c

index c0a7e6b1816fa36d5c3da8851202cecc27b1d902..df8d829966839c487fc86c73ce3f2f9e02e94e80 100644 (file)
@@ -976,6 +976,7 @@ show_title_info(signal_user_data_t *ud, ghb_title_info_t *tinfo)
                ghb_ui_update(ud, "PictureLeftCrop", ghb_int64_value(tinfo->crop[2]));
                ghb_ui_update(ud, "PictureRightCrop", ghb_int64_value(tinfo->crop[3]));
        }
+       ghb_set_scale (ud, GHB_SCALE_KEEP_NONE);
        gint width, height, crop[4];
        crop[0] = ghb_settings_get_int(ud->settings, "PictureTopCrop");
        crop[1] = ghb_settings_get_int(ud->settings, "PictureBottomCrop");
index e45ce65c0edebbf5b090b5b18b61ab82ecb1af07..c5a816ef7d9db3ffaeca84a339534642212968f5 100644 (file)
@@ -2938,7 +2938,6 @@ ghb_add_job(GValue *js, gint unique_id)
        if( !hb_list_count( list ) )
        {
                /* No valid title, stop right there */
-               g_message("No title found.\n");
                return;
        }