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
22040d1e
Commit
22040d1e
authored
Sep 28, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VLC_OBJECT_OPENGL: nobody uses _find on this, useless
parent
d47c4459
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
modules/video_output/opengl.c
modules/video_output/opengl.c
+1
-4
modules/visualization/galaktos/plugin.c
modules/visualization/galaktos/plugin.c
+1
-1
No files found.
modules/video_output/opengl.c
View file @
22040d1e
...
...
@@ -270,12 +270,9 @@ static int CreateVout( vlc_object_t *p_this )
/* Get window */
p_sys
->
p_vout
=
(
vout_thread_t
*
)
vlc_object_create
(
p_this
,
VLC_OBJECT_OPENGL
);
(
vout_thread_t
*
)
vlc_object_create
(
p_this
,
sizeof
(
vout_thread_t
)
);
if
(
p_sys
->
p_vout
==
NULL
)
{
msg_Err
(
p_vout
,
"out of memory"
);
return
VLC_ENOMEM
;
}
vlc_object_attach
(
p_sys
->
p_vout
,
p_this
);
p_sys
->
p_vout
->
i_window_width
=
p_vout
->
i_window_width
;
...
...
modules/visualization/galaktos/plugin.c
View file @
22040d1e
...
...
@@ -201,7 +201,7 @@ static void* Thread( vlc_object_t *p_this )
/* Get on OpenGL provider */
p_thread
->
p_opengl
=
(
vout_thread_t
*
)
vlc_object_create
(
p_this
,
VLC_OBJECT_OPENGL
);
(
vout_thread_t
*
)
vlc_object_create
(
p_this
,
sizeof
(
vout_thread_t
)
);
if
(
p_thread
->
p_opengl
==
NULL
)
{
vlc_restorecancel
(
canc
);
...
...
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