Commit bee14b5a authored by Felix Paul Kühne's avatar Felix Paul Kühne

Expose 'hardware decoding' option on tvOS

parent 590edf8f
Pipeline #212 failed with stage
in 0 seconds
......@@ -46,6 +46,7 @@
kVLCSettingSubtitlesFontSize : kVLCSettingSubtitlesFontSizeDefaultValue,
kVLCSettingSubtitlesBoldFont: kVLCSettingSubtitlesBoldFontDefaultValue,
kVLCSettingDeinterlace : kVLCSettingDeinterlaceDefaultValue,
kVLCSettingHardwareDecoding : kVLCSettingHardwareDecodingDefault,
kVLCSettingNetworkCaching : kVLCSettingNetworkCachingDefaultValue,
kVLCSettingEqualizerProfile : kVLCSettingEqualizerProfileDefaultValue,
kVLCSettingPlaybackForwardSkipLength : kVLCSettingPlaybackForwardSkipLengthDefaultValue,
......
......@@ -94,6 +94,26 @@
<key>DefaultValue</key>
<false/>
</dict>
<dict>
<key>Type</key>
<string>PSMultiValueSpecifier</string>
<key>Title</key>
<string>SETTINGS_HWDECODING</string>
<key>Key</key>
<string>codec</string>
<key>DefaultValue</key>
<string></string>
<key>Titles</key>
<array>
<string>SETTINGS_HWDECODING_ON</string>
<string>SETTINGS_HWDECODING_OFF</string>
</array>
<key>Values</key>
<array>
<string></string>
<string>avcodec,all</string>
</array>
</dict>
<dict>
<key>Type</key>
<string>PSGroupSpecifier</string>
......
......@@ -84,6 +84,26 @@
<key>DefaultValue</key>
<false/>
</dict>
<dict>
<key>Type</key>
<string>PSMultiValueSpecifier</string>
<key>Title</key>
<string>SETTINGS_HWDECODING</string>
<key>Key</key>
<string>codec</string>
<key>DefaultValue</key>
<string></string>
<key>Titles</key>
<array>
<string>SETTINGS_HWDECODING_ON</string>
<string>SETTINGS_HWDECODING_OFF</string>
</array>
<key>Values</key>
<array>
<string></string>
<string>avcodec,all</string>
</array>
</dict>
<dict>
<key>Type</key>
<string>PSGroupSpecifier</string>
......
......@@ -34,6 +34,8 @@
#define kVLCSettingSkipLoopFilterNonKey @(3)
#define kVLCSettingDeinterlace @"deinterlace"
#define kVLCSettingDeinterlaceDefaultValue @(0)
#define kVLCSettingHardwareDecoding @"codec"
#define kVLCSettingHardwareDecodingDefault @""
#define kVLCSettingSubtitlesFont @"quartztext-font"
#define kVLCSettingSubtitlesFontDefaultValue @"HelveticaNeue"
#define kVLCSettingSubtitlesFontSize @"quartztext-rel-fontsize"
......
......@@ -1323,11 +1323,7 @@ static inline NSArray * RemoteCommandCenterCommandsToHandle(MPRemoteCommandCente
kVLCSettingStretchAudio : [[defaults objectForKey:kVLCSettingStretchAudio] boolValue] ? kVLCSettingStretchAudioOnValue : kVLCSettingStretchAudioOffValue,
kVLCSettingTextEncoding : [defaults objectForKey:kVLCSettingTextEncoding],
kVLCSettingSkipLoopFilter : [defaults objectForKey:kVLCSettingSkipLoopFilter],
#if TARGET_OS_IOS
kVLCSettingHardwareDecoding : [defaults objectForKey:kVLCSettingHardwareDecoding]};
#else
};
#endif
}
@end
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