Skip to content

Merge preparser and thumbnailer APIs

Merge vlc_preparser_t with vlc_thumbnailer_t API.

It is now possible to create one single preparser that will do:

  • Parsing
  • Meta fetching
  • Generating thumbnails

Each of these 3 actions are executed independently in their own executor/thread. It is possible to configure a preparser to do only one (or two) of these 3 actions.

The main goal is to facilitate the future work to use an external process in the preparser. We will likely want to do the same for the thumbnailer, and we should avoid having 2 extra process for parsing and thumbnailing. Furtermore, the IPC/spawn code will be done only one time. It will be possible to create a preparser process that will parse and generate thumbnails in 2 different threads.

PS: This is different from what we discussed in #28805 (closed)

Preparser and thumbnailer are still processed independently in their own executor/thread/input.

Edited by Thomas Guillem

Merge request reports

Loading