[vlc-devel] [PATCH 1/3] chromecast: refactor out encoder option functions
Thomas Guillem
thomas at gllm.fr
Tue Dec 4 09:03:59 CET 2018
On Mon, Dec 3, 2018, at 14:31, Shaleen Jain wrote:
> On Mon, 2018-12-03 at 12:10 +0100, Thomas Guillem wrote:
>> Hello,
>>
>>
>> Could you also refactor renderer module options, like "show-perf-
>> warning", "audio-passthrough", "conversion-quality", and maybe some
>> others. You can check how it's done in
>> modules/video_output/opengl/display.c, with add_glopts().
>>
>> On Wed, Nov 28, 2018, at 16:44, Shaleen Jain wrote:>
> Do you mean to use a define for the common options? besides the three
> that you have already mentioned "ip" and "port" are the common> options as they are required by vlc_renderer_item_new but they have
> different defaults for chromecast and dlna each (for e.g chromecast
> has port 8009 and dlna has port 7070).> So I'm not sure if it'll be wise to make them (ip and port) common for
> each renderer.
You're right, it won't.
Each modules should have their own options name:
"chromecast-something", "upnp-renderer-something" and not a common "renderer-
something". This will allow users to setup different options for
chromecast and upnp.
That said, modules can have different options name but using common
options via some includes.For ip and port, you could specifiy the default as a MACRO parameter.
>
>
> --
> Regards,
> Shaleen Jain
>
> _________________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20181204/e23a5b4b/attachment.html>
More information about the vlc-devel
mailing list