/* HBVideoController.h $ This file is part of the HandBrake source code. Homepage: . It may be used under the terms of the GNU General Public License. */ #import #include "hb.h" @class HBController; @class HBAdvancedController; extern NSString *HBVideoEncoderChangedNotification; /** * HBVideoController * * Responds to HBContainerChangedNotification and HBTitleChangedNotification notifications. */ @interface HBVideoController : NSViewController - (void)enableUI:(BOOL)b; // Methods to apply the settings to the controller - (void)applyVideoSettingsFromQueue:(NSDictionary *)queueToApply; - (void)applySettingsFromPreset:(NSDictionary *)preset; // Methods to get back the controller settings - (void)prepareVideoForQueueFileJob:(NSMutableDictionary *)queueFileJob; - (void)prepareVideoForJobPreview:(hb_job_t *)job andTitle:(hb_title_t *)title; - (void)prepareVideoForPreset:(NSMutableDictionary *)preset; - (IBAction)x264PresetsChangedDisplayExpandedOptions:(id)sender; @property (nonatomic, copy, readwrite) NSString *pictureSettingsField; @property (nonatomic, copy, readwrite) NSString *pictureFiltersField; // Property exposed for the auto name function @property (nonatomic, readonly) int selectedCodec; @property (nonatomic, readonly) int selectedQualityType; @property (nonatomic, readonly) NSString *selectedBitrate; @property (nonatomic, readonly) NSString *selectedQuality; // Property updates when the video size changes @property (nonatomic, readwrite) NSUInteger fX264PresetsWidthForUnparse; @property (nonatomic, readwrite) NSUInteger fX264PresetsHeightForUnparse; @property (nonatomic, retain, readwrite) HBController *fHBController; @property (nonatomic, retain, readwrite) HBAdvancedController *fAdvancedOptions; @end