Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
dc873d6a
Commit
dc873d6a
authored
Oct 17, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide a type name for window objects
parent
7813a370
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/video_output/window.c
src/video_output/window.c
+4
-3
No files found.
src/video_output/window.c
View file @
dc873d6a
...
@@ -30,15 +30,16 @@
...
@@ -30,15 +30,16 @@
#include <assert.h>
#include <assert.h>
#include <vlc_common.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_vout_window.h>
#include <vlc_vout_window.h>
#include <libvlc.h>
vout_window_t
*
vout_window_New
(
vlc_object_t
*
obj
,
vout_window_t
*
vout_window_New
(
vlc_object_t
*
obj
,
const
char
*
module
,
const
char
*
module
,
const
vout_window_cfg_t
*
cfg
)
const
vout_window_cfg_t
*
cfg
)
{
{
vout_window_t
*
window
=
vlc_object_create
(
obj
,
sizeof
(
*
window
));
static
char
const
name
[]
=
"window"
;
vout_window_t
*
window
=
vlc_custom_create
(
obj
,
sizeof
(
*
window
),
VLC_OBJECT_GENERIC
,
name
);
window
->
cfg
=
cfg
;
window
->
cfg
=
cfg
;
memset
(
&
window
->
handle
,
0
,
sizeof
(
window
->
handle
));
memset
(
&
window
->
handle
,
0
,
sizeof
(
window
->
handle
));
window
->
control
=
NULL
;
window
->
control
=
NULL
;
...
...
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