VLCMedia: refactors for simplifying the code
Refactor in VLC 4.0 removed the libvlc_instance_t parameter to most functions from libvlc_media_t (in particular constructor) and only kept it for preparsing/thumbnailing requests.
This MR uses this beginning to remove some parameters, and then removes more code by simplifying even more the initializers.
A bigger impact change is the one adding the selector preparseWithOptions:timeout:library:
allowing the user to provide its own VLCLibrary object to configure the preparsing options.
Merge request reports
Activity
changed milestone to %4.0
added Feature Maintenance labels
- Resolved by Felix Paul Kühne
Documentation for the new selector is not done, I'm not really sure whether I should unify the documentation for every
parseWithOptions:
in this merge request or a follow-up one?
added 20 commits
-
fa5734d5...80cb351c - 13 commits from branch
videolan:master
- 960f0423 - VLCMedia: remove useless VLCLibrary
- ebd1ddaa - VLCMedia: add VLCLibrary parameter for preparsing
- c481b376 - VLCMedia: use early return when possible
- a574f4c8 - VLCMedia: ensure the media is initialized
- f14725d8 - VLCMedia: match attach/detach through a common table
- d7622377 - doxygen: expand usual Objective-C macros
- 8f110964 - VLCMedia: unify documentation for parseWithOptions
Toggle commit list-
fa5734d5...80cb351c - 13 commits from branch
added 8 commits
-
b7d393d2 - 1 commit from branch
videolan:master
- a99d7860 - VLCMedia: remove useless VLCLibrary
- e7ba7f19 - VLCMedia: add VLCLibrary parameter for preparsing
- 79c0322c - VLCMedia: use early return when possible
- d57325a3 - VLCMedia: ensure the media is initialized
- 0cfac2ab - VLCMedia: match attach/detach through a common table
- 68866762 - doxygen: expand usual Objective-C macros
- f1530dd7 - VLCMedia: unify documentation for parseWithOptions
Toggle commit list-
b7d393d2 - 1 commit from branch
enabled an automatic merge when the pipeline for f1530dd7 succeeds