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

sergey radionov rsatom at gmail.com
Thu Feb 4 04:50:09 CET 2016


2016-02-03 22:58 GMT+06:00 Rémi Denis-Courmont <remi at remlab.net>:

> 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.
>

Still don't understand you. I can't imagine any way to pass &fmt.i_width
and &fmt.i_height to user callback without breaking backward compatibility.
Could you please provide small code snippet?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160204/172c80a0/attachment.html>


More information about the vlc-devel mailing list