<html><head></head><body>Hi,<br><br>IMO, it needs to mention that that's only available from v4.0<br><br><div class="gmail_quote">Le 26 avril 2019 06:22:32 GMT+03:00, sergey radionov <rsatom@gmail.com> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Is it OK write something like this?</div><div><br></div><div> * \param width pointer to the buffer width in pixels[IN/OUT], (width+1) - pointer to display width in pixels[IN]<br> * \param height pointer to the buffer height in pixels[IN/OUT], (height+1) - pointer to display height in pixels[IN]<br><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">чт, 25 апр. 2019 г. в 22:44, Rémi Denis-Courmont <<a href="mailto:remi@remlab.net">remi@remlab.net</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le torstaina 25. huhtikuuta 2019, 18.37.54 EEST sergey radionov a écrit :<br>
> to be able display frames correctly<br>
<br>
Please update the Doxygen.<br>
<br>
> ---<br>
> modules/video_output/vmem.c | 11 ++++++++++-<br>
> 1 file changed, 10 insertions(+), 1 deletion(-)<br>
> <br>
> diff --git a/modules/video_output/vmem.c b/modules/video_output/vmem.c<br>
> index 87ea3244f4..ee5e544656 100644<br>
> --- a/modules/video_output/vmem.c<br>
> +++ b/modules/video_output/vmem.c<br>
> @@ -144,13 +144,22 @@ static int Open(vout_display_t *vd, const<br>
> vout_display_cfg_t *cfg, memset(sys->pitches, 0, sizeof(sys->pitches));<br>
> memset(sys->lines, 0, sizeof(sys->lines));<br>
> <br>
> - if (setup(&sys->opaque, chroma, &fmt.i_width, &fmt.i_height,<br>
> + unsigned widths[2], heights[2];<br>
> + widths[0] = fmt.i_width;<br>
> + widths[1] = fmt.i_visible_width;<br>
> +<br>
> + heights[0] = fmt.i_height;<br>
> + heights[1] = fmt.i_visible_height;<br>
> +<br>
> + if (setup(&sys->opaque, chroma, widths, heights,<br>
> sys->pitches, sys->lines) == 0) {<br>
> msg_Err(vd, "video format setup failure (no pictures)");<br>
> free(sys);<br>
> return VLC_EGENERIC;<br>
> }<br>
> fmt.i_chroma = vlc_fourcc_GetCodecFromString(VIDEO_ES, chroma);<br>
> + fmt.i_width = widths[0];<br>
> + fmt.i_height = heights[0];<br>
> <br>
> } else {<br>
> char *chroma = var_InheritString(vd, "vmem-chroma");<br>
<br>
<br>
-- <br>
雷米‧德尼-库尔蒙<br>
<a href="http://www.remlab.net/" rel="noreferrer" target="_blank">http://www.remlab.net/</a><br>
<br>
<br>
<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a></blockquote></div>
</blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>