X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=macosx%2FInstantHandBrake%2FExpressController.m;h=37ab8b0ec4e862c890a1268291e4ab54cec74b70;hb=f35d39f9adca67471b72f3e47398855d51481f87;hp=6775851bdd97503682bb7a81a5dda0fc8a40d0c5;hpb=12f9ef46d51c287c512f1757b8490e9201c36beb;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/macosx/InstantHandBrake/ExpressController.m b/macosx/InstantHandBrake/ExpressController.m index 6775851b..37ab8b0e 100644 --- a/macosx/InstantHandBrake/ExpressController.m +++ b/macosx/InstantHandBrake/ExpressController.m @@ -103,6 +103,8 @@ [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(workDone:) name:@"HBCoreWorkDoneNotification" object:nil]; + + [GrowlApplicationBridge setGrowlDelegate: self]; } - (void) applicationWillTerminate: (NSNotification *) n @@ -218,6 +220,10 @@ title->seconds]; } } + else if( [[col identifier] isEqualToString: @"Size"] ) + { + return [NSString stringWithFormat:@"-"]; + } } return nil; } @@ -363,7 +369,7 @@ job->vbitrate /= 2; } - if ( [fConvertAspectPopUp indexOfSelectedItem] ) + if ( [fConvertAspectPopUp indexOfSelectedItem] > 0 ) { do { @@ -373,6 +379,8 @@ } else { + /* Reset job->crop values */ + memcpy( job->crop, job->title->crop, 4 * sizeof( int ) ); job->width = maxwidth; hb_fix_aspect( job, HB_KEEP_WIDTH ); }