[vlc-devel] [PATCH] add module_get_shortcuts

Rémi Denis-Courmont remi at remlab.net
Wed Feb 25 16:34:30 CET 2015


Le 2015-02-25 18:17, Francois Cartegnie a écrit :
> Le 25/02/2015 15:25, Rémi Denis-Courmont a écrit :
>>> Avoiding the "late failure" bad experience with user interfaces: 
>>> only
>>> offer options based on existing shortcuts.
>>
>> But that's the point: options depend on modules, not shortcuts. 
>> There
>> are no needs for the UI to know what shortcuts a given module 
>> implements.
>
> I believed we were using shortcuts in a smarter way.. mov using mp4 
> and
> producing mov compliant.
> At least, that's how I've made mp4stream instead of another module.

I have no clue what you mean. Shortcuts are only used to match the 
requested module name while probing a module (module_need() and 
friends).

A module does not even by which shortcut (if any) it was designated - 
although in some cases the module_need() caller may store some 
type-specific infos (e.g. access_t.psz_access).

Shortcuts have no effects on configuration whatsoever.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list