]> granicus.if.org Git - handbrake/commitdiff
MacGui: Fix live preview window so that changes in the preview window are reflected...
authordynaflash <dynaflashtech@gmail.com>
Mon, 24 Nov 2008 19:47:46 +0000 (19:47 +0000)
committerdynaflash <dynaflashtech@gmail.com>
Mon, 24 Nov 2008 19:47:46 +0000 (19:47 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1952 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/PictureController.mm

index 940bdb2fe1361e222c34af2d1d9e3cf4361b2487..6888e55f37cad79927631efd78369bd1bd8a9267 100644 (file)
@@ -262,6 +262,7 @@ are maintained across different sources */
                                  scale * 100.0];
         [fInfoField setStringValue: [[fInfoField stringValue] stringByAppendingString:scaleString]];
     }
+
 }
 
 - (IBAction) previewDurationPopUpChanged: (id) sender
@@ -463,7 +464,8 @@ are maintained across different sources */
      no human can see any meaningful detail below that */
     if (job->width >= 64 && job->height >= 64)
     {
-        // Purge the existing picture previews so they get recreated the next time
+       
+         // Purge the existing picture previews so they get recreated the next time
         // they are needed.
         [self purgeImageCache];
         /* We actually call displayPreview now from pictureSliderChanged which keeps
@@ -473,7 +475,12 @@ are maintained across different sources */
         [self pictureSliderChanged:nil];
 
     }
-    
+
+    if (sender != nil)
+    {
+        if ([delegate respondsToSelector:@selector(pictureSettingsDidChange)])
+            [delegate pictureSettingsDidChange];
+    }   
     
 }