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
66ddfd87
Commit
66ddfd87
authored
Jul 21, 2010
by
Juho Vähä-Herttua
Committed by
Rémi Denis-Courmont
Jul 21, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add nsobject support to vout_window_t
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
a985ebd5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
include/vlc_vout_window.h
include/vlc_vout_window.h
+4
-2
src/video_output/window.c
src/video_output/window.c
+6
-0
No files found.
include/vlc_vout_window.h
View file @
66ddfd87
...
...
@@ -43,6 +43,7 @@ typedef struct vout_window_sys_t vout_window_sys_t;
enum
{
VOUT_WINDOW_TYPE_XID
,
VOUT_WINDOW_TYPE_HWND
,
VOUT_WINDOW_TYPE_NSOBJECT
,
};
/**
...
...
@@ -88,8 +89,9 @@ struct vout_window_t {
* It must be filled in the open function.
*/
union
{
void
*
hwnd
;
/* Win32 window handle */
uint32_t
xid
;
/* X11 windows ID */
void
*
hwnd
;
/* Win32 window handle */
uint32_t
xid
;
/* X11 windows ID */
void
*
nsobject
;
/* Mac OSX view object */
}
handle
;
/* display server (mandatory) */
...
...
src/video_output/window.c
View file @
66ddfd87
...
...
@@ -63,6 +63,12 @@ vout_window_t *vout_window_New(vlc_object_t *obj,
type
=
"vout window hwnd"
;
window
->
handle
.
hwnd
=
NULL
;
break
;
#endif
#ifdef __APPLE__
case
VOUT_WINDOW_TYPE_NSOBJECT
:
type
=
"vout window nsobject"
;
window
->
handle
.
nsobject
=
NULL
;
break
;
#endif
case
VOUT_WINDOW_TYPE_XID
:
type
=
"vout window xid"
;
...
...
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