From 60a513ca2e1e22c8b14578f7458d86ed9928f015 Mon Sep 17 00:00:00 2001 From: dynaflash Date: Tue, 27 Apr 2010 16:51:55 +0000 Subject: [PATCH] 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 --- macosx/Controller.m | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- 2.11.0