[vlc-devel] [PATCH] vmem: allow clients get and update additional format info

Rémi Denis-Courmont remi at remlab.net
Wed Feb 3 17:58:07 CET 2016


On Wednesday 03 February 2016 22:53:31 sergey radionov wrote:
> > IMHO, this is needlessly ugly. Use video_format_t instead of a table, this
> > is
> > also more extensible.
> 
> Hm... but how video_format_t should be passed to callback then? Sorry I
> don't understand.

Eh? I don´t know what you mean by that.

You can pass &fmt.i_width and &fmt.i_height but that´s kinda obvious.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list