Browse Source

libvlc: explicitly set a value for the libvlc_video_fit_mode_t enum values

Just like the other enums.
pull/162/head
Steve Lhomme 2 years ago
parent
commit
0eb7be304d
  1. 2
      include/vlc/libvlc_media_player.h

2
include/vlc/libvlc_media_player.h

@ -151,7 +151,7 @@ typedef enum libvlc_position_t {
* Enumeration of values used to set the video fitting inside the display area.
*/
typedef enum libvlc_video_fit_mode_t {
libvlc_video_fit_none, /**< Explicit zoom set by \ref libvlc_video_set_scale */
libvlc_video_fit_none = 0, /**< Explicit zoom set by \ref libvlc_video_set_scale */
libvlc_video_fit_smaller, /**< Fit inside / to smallest display dimension */
libvlc_video_fit_larger, /**< Fit outside / to largest display dimension */
libvlc_video_fit_width, /**< Fit to display width */

Loading…
Cancel
Save