diff options
author | ritsuka <[email protected]> | 2014-10-24 09:12:47 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-10-24 09:12:47 +0000 |
commit | 66ea6c974a66587b252b6af04ea96f2651f2baf7 (patch) | |
tree | 803382ebc4e40af5b6be4f35538ed2f8443cc083 /macosx | |
parent | 0c9e198f63edf700efa06934b9d64089de01ad26 (diff) |
MacGui: update the file name when the bitrate is changed and auto naming is enabled.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6462 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/English.lproj/Video.xib | 14 | ||||
-rw-r--r-- | macosx/HBVideoController.m | 5 |
2 files changed, 15 insertions, 4 deletions
diff --git a/macosx/English.lproj/Video.xib b/macosx/English.lproj/Video.xib index f0faf28c4..7d0f15dc1 100644 --- a/macosx/English.lproj/Video.xib +++ b/macosx/English.lproj/Video.xib @@ -1,8 +1,9 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> -<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="5056" systemVersion="14A361c" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none"> +<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="6250" systemVersion="14A389" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none"> <dependencies> - <deployment version="1060" defaultVersion="1060" identifier="macosx"/> - <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="5056"/> + <deployment version="1060" identifier="macosx"/> + <development version="5100" identifier="xcode"/> + <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="6250"/> </dependencies> <objects> <customObject id="-2" userLabel="File's Owner" customClass="HBVideoController"> @@ -51,7 +52,7 @@ </connections> </customObject> <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/> - <customObject id="-3" userLabel="Application"/> + <customObject id="-3" userLabel="Application" customClass="NSObject"/> <view id="wAC-5p-nXb"> <rect key="frame" x="0.0" y="0.0" width="920" height="315"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> @@ -73,6 +74,9 @@ <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/> </textFieldCell> + <connections> + <action selector="bitrateFieldChanged:" target="-2" id="zC1-Yc-rrz"/> + </connections> </textField> <textField verticalHuggingPriority="750" id="9L5-i4-5eu"> <rect key="frame" x="18" y="25" width="884" height="14"/> @@ -265,6 +269,7 @@ <font key="titleFont" metaFont="system"/> </box> </subviews> + <point key="canvasLocation" x="185" y="286.5"/> </view> <customView id="2dX-Hf-Hxl" userLabel="x264/x264 presets view"> <rect key="frame" x="0.0" y="0.0" width="920" height="134"/> @@ -457,6 +462,7 @@ Set this if your device is struggling to play the output (dropped frames).</stri <font key="titleFont" metaFont="system"/> </box> </subviews> + <point key="canvasLocation" x="185" y="576"/> </customView> <customView id="aRi-vN-oR0" userLabel="ffmpeg presets view"> <rect key="frame" x="0.0" y="0.0" width="920" height="34"/> diff --git a/macosx/HBVideoController.m b/macosx/HBVideoController.m index ab7c0edfe..c3148b496 100644 --- a/macosx/HBVideoController.m +++ b/macosx/HBVideoController.m @@ -1035,6 +1035,11 @@ NSString *HBVideoEncoderChangedNotification = @"HBVideoEncoderChangedNotificatio [self.fHBController customSettingUsed: sender]; } +- (IBAction)bitrateFieldChanged:(id)sender +{ + [self.fHBController customSettingUsed: sender]; +} + #pragma mark - Video x264/x265 Presets - (void)switchPresetViewForEncoder:(int)encoder |