From: dynaflash <dynaflashtech@gmail.com>
Date: Fri, 13 Mar 2009 19:56:59 +0000 (+0000)
Subject: MacGui: setUsesThreadedAnimation to false for the progress indicators in the main... 
X-Git-Tag: 0.9.4~703
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=30b537ed1847e996f74338bab2441e59c8c8d05f;p=handbrake

MacGui: setUsesThreadedAnimation to false for the progress indicators in the main window for 32 bit as well as 64 bit. also for fMovieCreationProgressIndicator in th preview window.
- For live preview this fixes an issue where the qtmovieview controller was not in focus.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2259 b64f7644-9d1e-0410-96f1-a4d463321fa5
---

diff --git a/macosx/Controller.mm b/macosx/Controller.mm
index 5027a4687..36cd1b79c 100644
--- a/macosx/Controller.mm
+++ b/macosx/Controller.mm
@@ -294,12 +294,14 @@ static NSString *        ChooseSourceIdentifier             = @"Choose Source It
      * 10.5 dev notes regarding this possiblility. It was also noted
      * that unless specified, setUsesThreadedAnimation defaults to true.
      * So, at least for now we set the indicator animation to NO for
-     * both the scan and regular progress indicators.
+     * both the scan and regular progress indicators for both 32 and 64 bit
+     * as it test out fine on both and there is no reason our progress indicators
+     * should require their own thread.
      */
-#ifdef __LP64__
+
     [fScanIndicator setUsesThreadedAnimation:NO];
     [fRipIndicator setUsesThreadedAnimation:NO];
-#endif  
+  
     
     
 	/* Show/Dont Show Presets drawer upon launch based
diff --git a/macosx/HBPreviewController.mm b/macosx/HBPreviewController.mm
index cea2a1ee3..2e979d969 100644
--- a/macosx/HBPreviewController.mm
+++ b/macosx/HBPreviewController.mm
@@ -78,6 +78,10 @@
     
     isFullScreen = NO;
     hudTimerSeconds = 0;
+    /* we set the progress indicator to not use threaded animation
+     * as it causes a conflict with the qtmovieview's controllerbar
+    */
+    [fMovieCreationProgressIndicator setUsesThreadedAnimation:NO];
     
     /* Setup our layers for core animation */
     [fPictureViewArea setWantsLayer:YES];