[vlc-devel] [PATCH 0/2] vout: subtitles outside the video
salah at videolan.org
Fri Mar 3 15:41:47 CET 2017
On Fri, Mar 3, 2017 at 4:33 PM, Francois Cartegnie <fcvlcdev at free.fr> wrote:
> Le 03/03/2017 à 15:19, Salah-Eddin Shaban a écrit :
>> If a region has the SUBPICTURE_ALIGN_BOTTOM flag, its i_y field is
>> interpreted to be the distance from the bottom edge of the video
>> (vout_subpictures.c:SpuRegionPlace), or in direct3d9/opengl with the
>> patches applied, the bottom edge of the display.
> But if full screen overlay is computed from video size,
> it is now offset from top of screen by (display h - video h) when set to
> display bottom, no ?
No, the subpictures are always created with the destination dimensions
(in this case the dimensions of the full screen). They end up in
That's why I had to use the flag scale_spu_to_display. So the core can
pass spuRender the correct destination dimensions.
More information about the vlc-devel