[vlc-devel] [vlc-commits] display: reroute and deprecate display size event
robux4 at ycbcr.xyz
robux4 at ycbcr.xyz
Sat May 26 06:45:38 CEST 2018
This commit broke Windows playback.
It doesn't seem to be enough to revert just this one. The define it relied on is gone too.
On 20 May 2018 at 19:52 +0200, Rémi Denis-Courmont <git at videolan.org>, wrote:
> vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri May 18 21:18:47 2018 +0300| [a4942d980a4d92ab8819b019d47804d43410efb2] | committer: Rémi Denis-Courmont
>
> display: reroute and deprecate display size event
>
> The window size should be determined by the window provider, not the
> display plugin.
>
> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a4942d980a4d92ab8819b019d47804d43410efb2
> ---
>
> include/vlc_vout_display.h | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/include/vlc_vout_display.h b/include/vlc_vout_display.h
> index edc1238aee..e70a20ad8e 100644
> --- a/include/vlc_vout_display.h
> +++ b/include/vlc_vout_display.h
> @@ -313,10 +313,13 @@ static inline void vout_display_SendEvent(vout_display_t *vd, int query, ...)
> va_end(args);
> }
>
> -static inline void vout_display_SendEventDisplaySize(vout_display_t *vd, int width, int height)
> +VLC_DEPRECATED /* Use vout_window_ReportSize() in window provider instead. */
> +static inline void vout_display_SendEventDisplaySize(vout_display_t *vd,
> + int width, int height)
> {
> - vout_display_SendEvent(vd, VOUT_DISPLAY_EVENT_DISPLAY_SIZE, width, height);
> + vout_window_ReportSize(vd->cfg->window, width, height);
> }
> +
> static inline void vout_display_SendEventPicturesInvalid(vout_display_t *vd)
> {
> vout_display_SendEvent(vd, VOUT_DISPLAY_EVENT_PICTURES_INVALID);
>
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> https://mailman.videolan.org/listinfo/vlc-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180526/7ac9024c/attachment.html>
More information about the vlc-devel
mailing list