[vlc-devel] [PATCH] core: do not overwrite visible size

Rémi Denis-Courmont remi at remlab.net
Sat Nov 9 22:11:01 CET 2013


Libavcodec often requires an extra block of lines at the bottom for optimized direct rendering. That is probably why.

(Sorry for html)

-- 
Rémi Denis-Courmont
Sent from my NVIDIA Tegra-powered device

----- Reply message -----
De : "XilasZ" <xilasz at gmail.com>
Pour : "Mailing list for VLC media player developers" <vlc-devel at videolan.org>
Objet : [vlc-devel] [PATCH] core: do not overwrite visible size
Date : sam., nov. 9, 2013 19:06

Some more feedback, with the patch applied, with a 1280x720 video, swscale is initialized with this input format :
  size = 1280x738
  visible size = 1280x720



I still don't understand why 738 (since 720 is already a multiple of 16), but at least visible size is correct.

But in practice, swscale receives those pictures :
  size = 1280x772


  visible size = 1280x738

So i asked for a resize of 1280x720 to 720x405 to the core, and i get a resize of 1280x738 to 720x405, and a thick bar of green lines as a bonus.

Why do we get a 738 from the decoder ?


What is this 772 coming from ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20131109/45250673/attachment.html>


More information about the vlc-devel mailing list