[vlc-devel] [RFC PATCH] display: fix useless display filter creation
remi at remlab.net
Thu Oct 8 10:46:27 CEST 2015
Le 2015-10-07 20:04, Thomas Guillem a écrit :
> When decoding a 1280x720 video with avcodec, the i_width/i_height
> will be
> aligned (1280x738). Therefore the comparison in
> VoutDisplayCreateRender will
> always fail and a filter will be created for nothing (swscale in my
I don't know what you mean by "always" fail, but we cannot give
libavcodec 1280x720 picture buffers when it requests 1280x738 ones.
> It's easy to reproduce with any 720p videos when forcing sw rendering
> xcb_xv video output.
You can't do direct rendering with XVideo and libavcodec. This is a
design limitation of the XVideo 2.2 protocol.
Or you can, but you get the infamous green lines bleeding.
More information about the vlc-devel