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
f53f829a
Commit
f53f829a
authored
Dec 12, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a potential race condition (projectm).
parent
4edd5ddb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/visualization/projectm.cpp
modules/visualization/projectm.cpp
+2
-1
No files found.
modules/visualization/projectm.cpp
View file @
f53f829a
...
@@ -291,7 +291,6 @@ static void* Thread( vlc_object_t *p_this )
...
@@ -291,7 +291,6 @@ static void* Thread( vlc_object_t *p_this )
vlc_sem_post
(
&
p_thread
->
ready
);
vlc_sem_post
(
&
p_thread
->
ready
);
return
NULL
;
return
NULL
;
}
}
vlc_sem_post
(
&
p_thread
->
ready
);
/* Initialize the opengl provider for this thread */
/* Initialize the opengl provider for this thread */
p_thread
->
p_opengl
->
pf_init
(
p_thread
->
p_opengl
);
p_thread
->
p_opengl
->
pf_init
(
p_thread
->
p_opengl
);
...
@@ -302,6 +301,8 @@ static void* Thread( vlc_object_t *p_this )
...
@@ -302,6 +301,8 @@ static void* Thread( vlc_object_t *p_this )
p_thread
->
p_buffer
=
(
float
*
)
malloc
(
p_thread
->
i_buffer_size
*
p_thread
->
p_buffer
=
(
float
*
)
malloc
(
p_thread
->
i_buffer_size
*
sizeof
(
float
)
);
sizeof
(
float
)
);
vlc_sem_post
(
&
p_thread
->
ready
);
/* TODO: Give to projectm the name of the input
/* TODO: Give to projectm the name of the input
p_thread->p_projectm->projectM_setTitle( "" ); */
p_thread->p_projectm->projectM_setTitle( "" ); */
...
...
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