[vlc-devel] [RFC] vout: subtitles outside the video area in direct3d9

Rémi Denis-Courmont remi at remlab.net
Sat Feb 25 15:56:59 CET 2017


Le lauantaina 25. helmikuuta 2017, 16.40.43 EET Salah-Eddin Shaban a écrit :
> ---
>  include/vlc_vout_display.h             |  1 +
>  modules/video_output/win32/common.c    | 14 +++++++++++++-
>  modules/video_output/win32/direct3d9.c | 20 ++++++++++++--------
>  src/video_output/video_output.c        |  9 +++++++++
>  4 files changed, 35 insertions(+), 9 deletions(-)
> 
> diff --git a/include/vlc_vout_display.h b/include/vlc_vout_display.h
> index 46825be..05ea39b 100644
> --- a/include/vlc_vout_display.h
> +++ b/include/vlc_vout_display.h
> @@ -131,6 +131,7 @@ typedef struct {
>      bool has_hide_mouse;                    /* Is mouse automatically
> hidden */ bool has_pictures_invalid;              /* Will
> VOUT_DISPLAY_EVENT_PICTURES_INVALID be used */ bool needs_event_thread
> VLC_DEPRECATED; /* Will events (key at least) be emitted using an
> independent thread */
> +    bool scale_spu_to_display;              /*
> Subpictures not restricted to video area */ const vlc_fourcc_t
> *subpicture_chromas; /* List of supported chromas for subpicture rendering.
> */ } vout_display_info_t;

That does not seem right. Why is a flag needed, and how is it supposed to 
work?

-- 
雷米‧德尼-库尔蒙
https://www.remlab.net/



More information about the vlc-devel mailing list