Commit 590edf8f authored by Felix Paul Kühne's avatar Felix Paul Kühne

Rename hardware decoding constants to make them easier to find

parent 8656f70b
......@@ -66,7 +66,7 @@ NSString *const VLCDropboxSessionWasAuthorized = @"VLCDropboxSessionWasAuthorize
kVLCSettingSubtitlesFontSize : kVLCSettingSubtitlesFontSizeDefaultValue,
kVLCSettingSubtitlesBoldFont: kVLCSettingSubtitlesBoldFontDefaultValue,
kVLCSettingDeinterlace : kVLCSettingDeinterlaceDefaultValue,
kVLCSettingHWDecoding : kVLCSettingHWDecodingDefault,
kVLCSettingHardwareDecoding : kVLCSettingHardwareDecodingDefault,
kVLCSettingNetworkCaching : kVLCSettingNetworkCachingDefaultValue,
kVLCSettingVolumeGesture : @(YES),
kVLCSettingPlayPauseGesture : @(YES),
......
......@@ -38,8 +38,8 @@
#define kVLCSettingSubtitlesFilePath @"sub-file"
#define kVLCSettingDeinterlace @"deinterlace"
#define kVLCSettingDeinterlaceDefaultValue @(0)
#define kVLCSettingHWDecoding @"codec"
#define kVLCSettingHWDecodingDefault @""
#define kVLCSettingHardwareDecoding @"codec"
#define kVLCSettingHardwareDecodingDefault @""
#define kVLCSettingNetworkCaching @"network-caching"
#define kVLCSettingNetworkCachingDefaultValue @(999)
#define kVLCSettingsDecrapifyTitles @"MLDecrapifyTitles"
......
......@@ -1324,7 +1324,7 @@ static inline NSArray * RemoteCommandCenterCommandsToHandle(MPRemoteCommandCente
kVLCSettingTextEncoding : [defaults objectForKey:kVLCSettingTextEncoding],
kVLCSettingSkipLoopFilter : [defaults objectForKey:kVLCSettingSkipLoopFilter],
#if TARGET_OS_IOS
kVLCSettingHWDecoding : [defaults objectForKey:kVLCSettingHWDecoding]};
kVLCSettingHardwareDecoding : [defaults objectForKey:kVLCSettingHardwareDecoding]};
#else
};
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment