<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-02-03 22:58 GMT+06:00 Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net" target="_blank">remi@remlab.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On Wednesday 03 February 2016 22:53:31 sergey radionov wrote:<br>
> > IMHO, this is needlessly ugly. Use video_format_t instead of a table, this<br>
> > is<br>
> > also more extensible.<br>
><br>
> Hm... but how video_format_t should be passed to callback then? Sorry I<br>
> don't understand.<br>
<br>
</span>Eh? I don´t know what you mean by that.<br>
<br>
You can pass &fmt.i_width and &fmt.i_height but that´s kinda obvious.<br></blockquote><br></div><div class="gmail_quote">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.<br></div><div class="gmail_quote">Could you please provide small code snippet?<br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><br></div></div>