From: dynaflash Date: Tue, 27 Apr 2010 16:51:55 +0000 (+0000) Subject: MacGui: reset hb_filter_decomb after use, so switching between default decomb and... X-Git-Url: http://git.osdn.jp/view?a=commitdiff_plain;h=60a513ca2e1e22c8b14578f7458d86ed9928f015;p=handbrake-jp%2Fhandbrake-jp-git.git MacGui: reset hb_filter_decomb after use, so switching between default decomb and a custom decomb string does cause a garbage string. Thanks j45 for the patch! git-svn-id: svn://localhost/HandBrake/trunk@3269 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/macosx/Controller.m b/macosx/Controller.m index 6a881496..9d6cd0db 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -3422,6 +3422,7 @@ bool one_burned = FALSE; */ /* Detelecine */ + hb_filter_detelecine.settings = NULL; if ([fPictureController detelecine] == 1) { /* use a custom detelecine string */ @@ -3440,6 +3441,7 @@ bool one_burned = FALSE; { /* Decomb */ /* we add the custom string if present */ + hb_filter_decomb.settings = NULL; if ([fPictureController decomb] == 1) { /* use a custom decomb string */ @@ -3975,6 +3977,7 @@ bool one_burned = FALSE; * The order of the filters is critical */ /* Detelecine */ + hb_filter_detelecine.settings = NULL; if ([[queueToApply objectForKey:@"PictureDetelecine"] intValue] == 1) { /* use a custom detelecine string */ @@ -3991,6 +3994,7 @@ bool one_burned = FALSE; { /* Decomb */ /* we add the custom string if present */ + hb_filter_decomb.settings = NULL; if ([[queueToApply objectForKey:@"PictureDecomb"] intValue] == 1) { /* use a custom decomb string */