Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
3ce7f98b
Commit
3ce7f98b
authored
Oct 28, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove VOUT_WINDOW_TYPE_NATIVE (close #7666)
parent
00dba0cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
7 deletions
+19
-7
include/vlc_vout_window.h
include/vlc_vout_window.h
+0
-6
modules/video_output/gl.c
modules/video_output/gl.c
+19
-1
No files found.
include/vlc_vout_window.h
View file @
3ce7f98b
...
...
@@ -47,12 +47,6 @@ enum {
VOUT_WINDOW_TYPE_NSOBJECT
,
};
#if defined (WIN32) || defined (__OS2__)
# define VOUT_WINDOW_TYPE_NATIVE VOUT_WINDOW_TYPE_HWND
#elif defined (__unix__)
# define VOUT_WINDOW_TYPE_NATIVE VOUT_WINDOW_TYPE_XID
#endif
/**
* Control query for vout_window_t
*/
...
...
modules/video_output/gl.c
View file @
3ce7f98b
...
...
@@ -101,7 +101,25 @@ static vout_window_t *MakeWindow (vout_display_t *vd)
vout_window_cfg_t
wnd_cfg
;
memset
(
&
wnd_cfg
,
0
,
sizeof
(
wnd_cfg
));
wnd_cfg
.
type
=
VOUT_WINDOW_TYPE_NATIVE
;
/* Please keep this in sync with egl.c */
/* <EGL/eglplatform.h> defines the list and order of platforms */
#if defined(_WIN32) || defined(__VC32__) \
&& !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
wnd_cfg
.
type
=
VOUT_WINDOW_TYPE_HWND
;
#elif defined(__WINSCW__) || defined(__SYMBIAN32__)
/* Symbian */
# warning Symbian not supported.
#elif defined(WL_EGL_PLATFORM)
# error Wayland not supported.
#elif defined(__GBM__)
# error Glamor not supported.
#elif defined(ANDROID)
# error Android not supported.
#elif defined(__unix__)
/* X11 */
wnd_cfg
.
type
=
VOUT_WINDOW_TYPE_XID
;
#else
# error Platform not recognized.
#endif
wnd_cfg
.
x
=
var_InheritInteger
(
vd
,
"video-x"
);
wnd_cfg
.
y
=
var_InheritInteger
(
vd
,
"video-y"
);
wnd_cfg
.
width
=
vd
->
cfg
->
display
.
width
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment