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
c65eebb3
Commit
c65eebb3
authored
May 26, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skin2: use pl_Release when applicable.
parent
ab0a0856
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
modules/gui/skins2/src/skin_main.cpp
modules/gui/skins2/src/skin_main.cpp
+7
-7
No files found.
modules/gui/skins2/src/skin_main.cpp
View file @
c65eebb3
...
@@ -131,7 +131,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -131,7 +131,7 @@ static int Open( vlc_object_t *p_this )
if
(
OSFactory
::
instance
(
p_intf
)
==
NULL
)
if
(
OSFactory
::
instance
(
p_intf
)
==
NULL
)
{
{
msg_Err
(
p_intf
,
"cannot initialize OSFactory"
);
msg_Err
(
p_intf
,
"cannot initialize OSFactory"
);
vlc_object_release
(
p_intf
->
p_sys
->
p_playlist
);
pl_Release
(
p_intf
);
#if 0
#if 0
msg_Unsubscribe( p_intf, p_intf->p_sys->p_sub );
msg_Unsubscribe( p_intf, p_intf->p_sys->p_sub );
#endif
#endif
...
@@ -140,7 +140,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -140,7 +140,7 @@ static int Open( vlc_object_t *p_this )
if
(
AsyncQueue
::
instance
(
p_intf
)
==
NULL
)
if
(
AsyncQueue
::
instance
(
p_intf
)
==
NULL
)
{
{
msg_Err
(
p_intf
,
"cannot initialize AsyncQueue"
);
msg_Err
(
p_intf
,
"cannot initialize AsyncQueue"
);
vlc_object_release
(
p_intf
->
p_sys
->
p_playlist
);
pl_Release
(
p_intf
);
#if 0
#if 0
msg_Unsubscribe( p_intf, p_intf->p_sys->p_sub );
msg_Unsubscribe( p_intf, p_intf->p_sys->p_sub );
#endif
#endif
...
@@ -149,7 +149,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -149,7 +149,7 @@ static int Open( vlc_object_t *p_this )
if
(
Interpreter
::
instance
(
p_intf
)
==
NULL
)
if
(
Interpreter
::
instance
(
p_intf
)
==
NULL
)
{
{
msg_Err
(
p_intf
,
"cannot instanciate Interpreter"
);
msg_Err
(
p_intf
,
"cannot instanciate Interpreter"
);
vlc_object_release
(
p_intf
->
p_sys
->
p_playlist
);
pl_Release
(
p_intf
);
#if 0
#if 0
msg_Unsubscribe( p_intf, p_intf->p_sys->p_sub );
msg_Unsubscribe( p_intf, p_intf->p_sys->p_sub );
#endif
#endif
...
@@ -158,7 +158,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -158,7 +158,7 @@ static int Open( vlc_object_t *p_this )
if
(
VarManager
::
instance
(
p_intf
)
==
NULL
)
if
(
VarManager
::
instance
(
p_intf
)
==
NULL
)
{
{
msg_Err
(
p_intf
,
"cannot instanciate VarManager"
);
msg_Err
(
p_intf
,
"cannot instanciate VarManager"
);
vlc_object_release
(
p_intf
->
p_sys
->
p_playlist
);
pl_Release
(
p_intf
);
#if 0
#if 0
msg_Unsubscribe( p_intf, p_intf->p_sys->p_sub );
msg_Unsubscribe( p_intf, p_intf->p_sys->p_sub );
#endif
#endif
...
@@ -167,7 +167,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -167,7 +167,7 @@ static int Open( vlc_object_t *p_this )
if
(
VlcProc
::
instance
(
p_intf
)
==
NULL
)
if
(
VlcProc
::
instance
(
p_intf
)
==
NULL
)
{
{
msg_Err
(
p_intf
,
"cannot initialize VLCProc"
);
msg_Err
(
p_intf
,
"cannot initialize VLCProc"
);
vlc_object_release
(
p_intf
->
p_sys
->
p_playlist
);
pl_Release
(
p_intf
);
#if 0
#if 0
msg_Unsubscribe( p_intf, p_intf->p_sys->p_sub );
msg_Unsubscribe( p_intf, p_intf->p_sys->p_sub );
#endif
#endif
...
@@ -176,7 +176,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -176,7 +176,7 @@ static int Open( vlc_object_t *p_this )
if
(
VoutManager
::
instance
(
p_intf
)
==
NULL
)
if
(
VoutManager
::
instance
(
p_intf
)
==
NULL
)
{
{
msg_Err
(
p_intf
,
"cannot instanciate VoutManager"
);
msg_Err
(
p_intf
,
"cannot instanciate VoutManager"
);
vlc_object_release
(
p_intf
->
p_sys
->
p_playlist
);
pl_Release
(
p_intf
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
vlc_mutex_lock
(
&
skin_load
.
mutex
);
vlc_mutex_lock
(
&
skin_load
.
mutex
);
...
@@ -378,7 +378,7 @@ static int DemuxOpen( vlc_object_t *p_this )
...
@@ -378,7 +378,7 @@ static int DemuxOpen( vlc_object_t *p_this )
// Make sure the item is deleted afterwards
// Make sure the item is deleted afterwards
/// \bug does not always work
/// \bug does not always work
playlist_CurrentPlayingItem
(
p_playlist
)
->
i_flags
|=
PLAYLIST_REMOVE_FLAG
;
playlist_CurrentPlayingItem
(
p_playlist
)
->
i_flags
|=
PLAYLIST_REMOVE_FLAG
;
vlc_object_release
(
p_playlist
);
pl_Release
(
p_this
);
var_SetString
(
p_intf
,
"skin-to-load"
,
p_demux
->
psz_path
);
var_SetString
(
p_intf
,
"skin-to-load"
,
p_demux
->
psz_path
);
vlc_object_release
(
p_intf
);
vlc_object_release
(
p_intf
);
...
...
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