OSDN Git Service

dvdnav: fix crash when poorly masterd disc has no menus
[handbrake-jp/handbrake-jp-git.git] / macosx / InstantHandBrake / ExpressController.m
index 6775851..37ab8b0 100644 (file)
     [[NSNotificationCenter defaultCenter] addObserver:self
     selector:@selector(workDone:)
     name:@"HBCoreWorkDoneNotification" object:nil];
+    
+    [GrowlApplicationBridge setGrowlDelegate: self];
 }
 
 - (void) applicationWillTerminate: (NSNotification *) n
                         title->seconds];
             }
         }
+        else if( [[col identifier] isEqualToString: @"Size"] )
+        {
+            return [NSString stringWithFormat:@"-"];
+        }
     }
     return nil;
 }
                        job->vbitrate /= 2;
         }
         
-        if ( [fConvertAspectPopUp indexOfSelectedItem] )
+        if ( [fConvertAspectPopUp indexOfSelectedItem] > 0 )
         {
             do
             {
         }
         else
         {
+            /* Reset job->crop values */
+            memcpy( job->crop, job->title->crop, 4 * sizeof( int ) );
             job->width = maxwidth;
             hb_fix_aspect( job, HB_KEEP_WIDTH );
         }