summaryrefslogtreecommitdiffstats
path: root/macosx/InstantHandBrake/Preset.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2008-01-30 12:28:55 +0000
committerritsuka <[email protected]>2008-01-30 12:28:55 +0000
commit70de68d465248336a1d68e5932ac00f60882a612 (patch)
tree0207bd6c451bc97780597226292420e654af8db7 /macosx/InstantHandBrake/Preset.h
parent0ec912f5fd9008e4643bf375db3088f29c389304 (diff)
IHB: - Various bugfix
- IHB can loads .ihbdevice presets from a directory inside the application bundle, and from ~/Application Support/Instant Handbrake - A .ihbdevice file can contain multiple presets, but IHB only reads the first at the moment. I am not sure how to handle multiple presets yet. - The only way to create an .ihbprofile file is to edit DeviceController.m , another thing I still need to think about. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1239 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/InstantHandBrake/Preset.h')
-rw-r--r--macosx/InstantHandBrake/Preset.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/macosx/InstantHandBrake/Preset.h b/macosx/InstantHandBrake/Preset.h
index 3caa5015d..2d53f0ae4 100644
--- a/macosx/InstantHandBrake/Preset.h
+++ b/macosx/InstantHandBrake/Preset.h
@@ -4,7 +4,7 @@
//
// Created by Damiano Galassi on 15/01/08.
// This file is part of the HandBrake source code.
-// Homepage: <http://handbrake.m0k.org/>.
+// Homepage: <http://handbrake.fr/>.
// It may be used under the terms of the GNU General Public License.
//
//
@@ -12,11 +12,13 @@
#import <Cocoa/Cocoa.h>
-@interface Preset : NSObject {
+@interface Preset : NSObject <NSCoding> {
+ NSString *presetName;
+
int fMuxer;
int fVideoCodec;
int fVideoBitRate;
- NSString * fVideoCodecOptions;
+ NSString *fVideoCodecOptions;
int fAudioCodec;
int fAudioBitRate;