[vlc-commits] [Git][videolan/vlc][3.0.x] 2 commits: doc: libvlc: remove ssize_t definition for MSVC
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Mar 6 12:48:22 UTC 2025
Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC
Commits:
9a125ac4 by Steve Lhomme at 2025-03-05T09:01:03+01:00
doc: libvlc: remove ssize_t definition for MSVC
It's not needed since ab4f2bc2ec72c69fe0220d4f519b67cc5b7fc22f.
- - - - -
e0557cf4 by Steve Lhomme at 2025-03-05T13:31:15+01:00
doc: libvlc: add 's' shortcut to stop playback
- - - - -
2 changed files:
- doc/libvlc/d3d11_swapr.cpp
- doc/libvlc/win_player.c
Changes:
=====================================
doc/libvlc/d3d11_swapr.cpp
=====================================
@@ -24,10 +24,6 @@
#include <string>
#include <sstream>
-#ifdef _MSC_VER
-typedef int ssize_t;
-#endif
-
#include <vlc/vlc.h>
#define INITIAL_WIDTH 1500
=====================================
doc/libvlc/win_player.c
=====================================
@@ -3,10 +3,6 @@
#include <windows.h>
#include <assert.h>
-#ifdef _MSC_VER
-typedef int ssize_t;
-#endif
-
#include <vlc/vlc.h>
#define SCREEN_WIDTH 1500
@@ -89,6 +85,10 @@ static LRESULT CALLBACK WindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARA
AspectRatio = NULL;
libvlc_video_set_aspect_ratio( ctx->p_mediaplayer, AspectRatio );
}
+ if (key == 's')
+ {
+ libvlc_media_player_stop( ctx->p_mediaplayer );
+ }
break;
}
default: break;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/b64a9b6c754e4c32ad610d891e3d379d4492d6bf...e0557cf4de1c1d3dc4300f4ec2ca1e5075aadab8
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/b64a9b6c754e4c32ad610d891e3d379d4492d6bf...e0557cf4de1c1d3dc4300f4ec2ca1e5075aadab8
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list