Skip to content
Snippets Groups Projects

vlc_modules: add an API to get the shortcut to use with a module

Open Steve Lhomme requested to merge robUx4/vlc:module-shortcut into master

A plugin may contain multiple modules. They all have the same first shortcut which is the VLC_MODULE_NAME [1]. Then if there's a shortcut (or more) it's further in the list.

module_get_object() cannot differentiate between the modules inside a plugin. It should keep returning the name of the VLC_MODULE_NAME. But we need another API to get the proper shortcut to use.

This is especially necessary in 3.0 to solve https://forum.videolan.org/viewtopic.php?f=14&t=164879. Except we probably can't add a libvlccore API there.

Ref. #28691

Edited by Steve Lhomme

Merge request reports

Members who can merge are allowed to add commits.

Merge request pipeline #487649 passed

Merge request pipeline passed for 34dd88bb

Test coverage 18.34% (0.02%) from 1 job
Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading