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
061224eb
Commit
061224eb
authored
May 08, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix yesterday's VLM bug
parent
af5905c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
src/input/vlm.c
src/input/vlm.c
+10
-1
No files found.
src/input/vlm.c
View file @
061224eb
...
...
@@ -178,8 +178,15 @@ vlm_t *__vlm_New ( vlc_object_t *p_this )
*****************************************************************************/
void
vlm_Delete
(
vlm_t
*
p_vlm
)
{
/* FIXME XXX: we need to set libvlc_priv->p_vlm bacl to NULL */
vlc_value_t
lockval
;
/* vlm_Delete() is serialized against itself, and against vlm_New().
* This way, vlm_Destructor () (called from vlc_objet_release() above)
* is serialized against setting libvlc_priv->p_vlm from vlm_New(). */
var_Get
(
p_vlm
->
p_libvlc
,
"vlm_mutex"
,
&
lockval
);
vlc_mutex_lock
(
lockval
.
p_address
);
vlc_object_release
(
p_vlm
);
vlc_mutex_unlock
(
lockval
.
p_address
);
}
/*****************************************************************************
...
...
@@ -187,6 +194,8 @@ void vlm_Delete( vlm_t *p_vlm )
*****************************************************************************/
static
void
vlm_Destructor
(
vlm_t
*
p_vlm
)
{
libvlc_priv
(
p_vlm
->
p_libvlc
)
->
p_vlm
=
NULL
;
vlm_ControlInternal
(
p_vlm
,
VLM_CLEAR_MEDIAS
);
TAB_CLEAN
(
p_vlm
->
i_media
,
p_vlm
->
media
);
...
...
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