OSDN Git Service

dvdnav: fix crash when poorly masterd disc has no menus
[handbrake-jp/handbrake-jp-git.git] / macosx / InstantHandBrake / Preset.h
1 //
2 //  Preset.h
3 //  InstantHandBrake
4 //
5 //  Created by Damiano Galassi on 15/01/08.
6 //  This file is part of the HandBrake source code.
7 //  Homepage: <http://handbrake.fr/>.
8 //  It may be used under the terms of the GNU General Public License.
9 //
10 //
11
12 #import <Cocoa/Cocoa.h>
13
14
15 @interface Preset : NSObject <NSCoding> {
16     NSString       *presetName;
17     
18     int             fMuxer;
19     int             fVideoCodec;
20     int             fVideoBitRate;
21     NSString       *fVideoCodecOptions;
22
23     int             fAudioCodec;
24     int             fAudioBitRate;
25     int             fAudioSampleRate;
26     
27     int             fMaxWidth;
28     int             fMaxHeight;
29     int             fAnamorphic;
30 }
31
32 - (id) initWithMuxer: (int) muxer
33           videoCodec: (int) videoCodec
34         videoBitRate: (int) videoBitRate
35    videoCodecOptions: (NSString *) videoCodecOptions
36           audioCodec: (int) audioCodec
37         audioBitrate: (int) audioBitrate
38      audioSampleRate: (int) audioSampleRate
39             maxWidth: (int) maxWidth
40            maxHeight: (int) maxHeight
41           anamorphic: (int) anamorphic;
42
43 - (int) muxer;
44 - (int) videoCodec;
45 - (NSString *) videoCodecOptions;
46 - (int) videoBitRate;
47 - (int) AudioCodec;
48 - (int) maxWidth;
49 - (int) maxHeight;
50
51 @end