Commit 4c72962d authored by Steve Lhomme's avatar Steve Lhomme Committed by Hugo Beauzée-Luyssen

vlc_vout_display: use VLC_DEPRECATED_ENUM for enumerators

It's not available on all GCCs

Fix regression from
057e5729,
40c96414f343d2fd939cf3053d9dc80930891c7e,
c900e39cSigned-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent edbb0399
...@@ -139,7 +139,7 @@ typedef struct { ...@@ -139,7 +139,7 @@ typedef struct {
enum { enum {
/* Hide the mouse. It will be sent when /* Hide the mouse. It will be sent when
* vout_display_t::info.b_hide_mouse is false */ * vout_display_t::info.b_hide_mouse is false */
VOUT_DISPLAY_HIDE_MOUSE VLC_DEPRECATED, VOUT_DISPLAY_HIDE_MOUSE VLC_DEPRECATED_ENUM,
/* Ask to reset the internal buffers after a VOUT_DISPLAY_EVENT_PICTURES_INVALID /* Ask to reset the internal buffers after a VOUT_DISPLAY_EVENT_PICTURES_INVALID
* request. * request.
...@@ -149,10 +149,10 @@ enum { ...@@ -149,10 +149,10 @@ enum {
#if defined(_WIN32) || defined(__OS2__) #if defined(_WIN32) || defined(__OS2__)
/* Ask the module to acknowledge/refuse the fullscreen state change after /* Ask the module to acknowledge/refuse the fullscreen state change after
* being requested (externally or by VOUT_DISPLAY_EVENT_FULLSCREEN */ * being requested (externally or by VOUT_DISPLAY_EVENT_FULLSCREEN */
VOUT_DISPLAY_CHANGE_FULLSCREEN VLC_DEPRECATED, /* bool fs */ VOUT_DISPLAY_CHANGE_FULLSCREEN VLC_DEPRECATED_ENUM, /* bool fs */
/* Ask the module to acknowledge/refuse the window management state change /* Ask the module to acknowledge/refuse the window management state change
* after being requested externally or by VOUT_DISPLAY_WINDOW_STATE */ * after being requested externally or by VOUT_DISPLAY_WINDOW_STATE */
VOUT_DISPLAY_CHANGE_WINDOW_STATE VLC_DEPRECATED, /* unsigned state */ VOUT_DISPLAY_CHANGE_WINDOW_STATE VLC_DEPRECATED_ENUM, /* unsigned state */
#endif #endif
/* Ask the module to acknowledge/refuse the display size change requested /* Ask the module to acknowledge/refuse the display size change requested
* (externally or by VOUT_DISPLAY_EVENT_DISPLAY_SIZE) */ * (externally or by VOUT_DISPLAY_EVENT_DISPLAY_SIZE) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment