Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
0df3e209
Commit
0df3e209
authored
Jul 23, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/visualization/galaktos/plugin.c: fixed threading issues with opengl.
parent
e14fc189
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
modules/visualization/galaktos/plugin.c
modules/visualization/galaktos/plugin.c
+6
-6
No files found.
modules/visualization/galaktos/plugin.c
View file @
0df3e209
...
...
@@ -213,6 +213,7 @@ static void Thread( vlc_object_t *p_this )
p_thread
->
p_opengl
->
render
.
i_width
=
p_thread
->
i_width
;
p_thread
->
p_opengl
->
render
.
i_height
=
p_thread
->
i_width
;
p_thread
->
p_opengl
->
render
.
i_aspect
=
VOUT_ASPECT_FACTOR
;
p_thread
->
p_opengl
->
b_scale
=
VLC_TRUE
;
p_thread
->
p_module
=
module_Need
(
p_thread
->
p_opengl
,
"opengl provider"
,
NULL
,
0
);
...
...
@@ -257,6 +258,11 @@ static void Thread( vlc_object_t *p_this )
// printf("Limiter %d\n",(mdate()/1000-timestart));
timestart
=
mdate
()
/
1000
;
}
/* Free the openGL provider */
module_Unneed
(
p_sys
->
p_thread
->
p_opengl
,
p_sys
->
p_thread
->
p_module
);
vlc_object_detach
(
p_sys
->
p_thread
->
p_opengl
);
vlc_object_destroy
(
p_sys
->
p_thread
->
p_opengl
);
}
/*****************************************************************************
...
...
@@ -274,14 +280,8 @@ static void Close( vlc_object_t *p_this )
vlc_thread_join
(
p_sys
->
p_thread
);
/* Free the openGL provider */
module_Unneed
(
p_sys
->
p_thread
->
p_opengl
,
p_sys
->
p_thread
->
p_module
);
vlc_object_detach
(
p_sys
->
p_thread
->
p_opengl
);
vlc_object_destroy
(
p_sys
->
p_thread
->
p_opengl
);
/* Free data */
vlc_object_detach
(
p_sys
->
p_thread
);
vlc_object_destroy
(
p_sys
->
p_thread
);
free
(
p_sys
);
...
...
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