mirror of https://github.com/mpv-player/mpv
Make WinID a 64 bit integer, this should avoid issues with valid Window
handles on windows being interpreted as "no wid set". git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28795 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
39bb720ef8
commit
8864662b13
|
@ -199,7 +199,7 @@ const m_option_t mplayer_opts[]={
|
|||
|
||||
{"adapter", &vo_adapter_num, CONF_TYPE_INT, CONF_RANGE, 0, 5, NULL},
|
||||
{"refreshrate",&vo_refresh_rate,CONF_TYPE_INT,CONF_RANGE, 0,100, NULL},
|
||||
{"wid", &WinID, CONF_TYPE_INT, 0, 0, 0, NULL},
|
||||
{"wid", &WinID, CONF_TYPE_INT64, 0, 0, 0, NULL},
|
||||
#ifdef CONFIG_X11
|
||||
// x11,xv,xmga,xvidix
|
||||
{"icelayer", "-icelayer has been removed. Use -fstype layer:<number> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
|
||||
|
|
|
@ -68,7 +68,7 @@ int vo_refresh_rate=0;
|
|||
int vo_keepaspect=1;
|
||||
int vo_rootwin=0;
|
||||
int vo_border=1;
|
||||
int WinID = -1;
|
||||
int64_t WinID = -1;
|
||||
|
||||
int vo_pts=0; // for hw decoding
|
||||
float vo_fps=0;
|
||||
|
|
|
@ -250,7 +250,7 @@ extern char *vo_subdevice;
|
|||
|
||||
extern int vo_colorkey;
|
||||
|
||||
extern int WinID;
|
||||
extern int64_t WinID;
|
||||
|
||||
typedef struct {
|
||||
float min;
|
||||
|
|
Loading…
Reference in New Issue