]> granicus.if.org Git - handbrake/commit
WinGui: Fix an issue which prevented the GUI from parsing presets with hb_presets_rea...
authorsr55 <sr55.hb@outlook.com>
Fri, 13 Jan 2017 21:44:08 +0000 (21:44 +0000)
committersr55 <sr55.hb@outlook.com>
Fri, 13 Jan 2017 21:44:08 +0000 (21:44 +0000)
commit4c8d30ae5f433ac80cc5c55b4853188a0df90db4
treeb4e0dbf7f09898182b70c3e0ac5668297d5f45e0
parent1ff916a4f3d1031f38d5e0dfa64877f2e0407970
WinGui: Fix an issue which prevented the GUI from parsing presets with hb_presets_read_file_json becaused it returned an unnamed list when reading plist files. It can now handle  PresetList or just unnamed Json List []
Also made the parser more tolerant to casing and unset and unexpected values.
win/CS/HandBrake.ApplicationServices/Interop/HandBrakePresetService.cs
win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs
win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs