mpv-player / mpv-player/mpv

RFE: modular drivers (AOs, VOs, ...)

Open
#11,138 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

meta:feature-request
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Currently mpv links to all its external dependencies (for AOs, VOs, etc) directly.
This means that binary distributions of mpv, like in Linux distributions will have hard dependencies on all compiled-in external dependencies which leads to fairly extensive dependency lists.

Instead the AOs and VOs could be compiled as dedicated shared libraries that can be loaded at runtime.
This would remove the hard dependencies. Instead mpv would try to load these new shared libraries and if they can not be loaded because of missing dependencies it would just be skipped.

Meson provides support for this natively with the shared_module() function.

If this is something that sounds interesting to the maintainers I am also offering to work on it.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing mpv's current external dependency linking and Meson's shared_module() support. The work is done when AOs and VOs can be built as shared libraries, loaded at runtime, and skipped when their dependencies cannot be loaded.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.