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
7ca4e3eb
Commit
7ca4e3eb
authored
Aug 02, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: Make sure we don't pl_Release(p_playlist).
In those case the pl_* API doesn't seems convienent/well used.
parent
875cd3dd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
modules/gui/beos/InterfaceWindow.cpp
modules/gui/beos/InterfaceWindow.cpp
+1
-1
modules/gui/wxwidgets/dialogs/playlist.cpp
modules/gui/wxwidgets/dialogs/playlist.cpp
+1
-1
modules/gui/wxwidgets/playlist_manager.cpp
modules/gui/wxwidgets/playlist_manager.cpp
+1
-1
modules/misc/lua/libs/playlist.c
modules/misc/lua/libs/playlist.c
+1
-1
No files found.
modules/gui/beos/InterfaceWindow.cpp
View file @
7ca4e3eb
...
@@ -354,7 +354,7 @@ InterfaceWindow::~InterfaceWindow()
...
@@ -354,7 +354,7 @@ InterfaceWindow::~InterfaceWindow()
}
}
if
(
p_playlist
)
if
(
p_playlist
)
{
{
pl_R
elease
(
p_playlist
);
vlc_object_r
elease
(
p_playlist
);
}
}
#if 0
#if 0
if( fPlaylistWindow )
if( fPlaylistWindow )
...
...
modules/gui/wxwidgets/dialogs/playlist.cpp
View file @
7ca4e3eb
...
@@ -424,7 +424,7 @@ Playlist::~Playlist()
...
@@ -424,7 +424,7 @@ Playlist::~Playlist()
var_DelCallback
(
p_playlist
,
"intf-change"
,
PlaylistChanged
,
this
);
var_DelCallback
(
p_playlist
,
"intf-change"
,
PlaylistChanged
,
this
);
var_DelCallback
(
p_playlist
,
"item-append"
,
ItemAppended
,
this
);
var_DelCallback
(
p_playlist
,
"item-append"
,
ItemAppended
,
this
);
var_DelCallback
(
p_playlist
,
"item-deleted"
,
ItemDeleted
,
this
);
var_DelCallback
(
p_playlist
,
"item-deleted"
,
ItemDeleted
,
this
);
pl_R
elease
(
p_playlist
);
vlc_object_r
elease
(
p_playlist
);
}
}
/**********************************************************************
/**********************************************************************
...
...
modules/gui/wxwidgets/playlist_manager.cpp
View file @
7ca4e3eb
...
@@ -187,7 +187,7 @@ PlaylistManager::~PlaylistManager()
...
@@ -187,7 +187,7 @@ PlaylistManager::~PlaylistManager()
var_DelCallback
(
p_playlist
,
"intf-change"
,
PlaylistChanged
,
this
);
var_DelCallback
(
p_playlist
,
"intf-change"
,
PlaylistChanged
,
this
);
var_DelCallback
(
p_playlist
,
"item-append"
,
ItemAppended
,
this
);
var_DelCallback
(
p_playlist
,
"item-append"
,
ItemAppended
,
this
);
var_DelCallback
(
p_playlist
,
"item-deleted"
,
ItemDeleted
,
this
);
var_DelCallback
(
p_playlist
,
"item-deleted"
,
ItemDeleted
,
this
);
pl_R
elease
(
p_playlist
);
vlc_object_r
elease
(
p_playlist
);
}
}
/*****************************************************************************
/*****************************************************************************
...
...
modules/misc/lua/libs/playlist.c
View file @
7ca4e3eb
...
@@ -56,7 +56,7 @@ playlist_t *vlclua_get_playlist_internal( lua_State *L )
...
@@ -56,7 +56,7 @@ playlist_t *vlclua_get_playlist_internal( lua_State *L )
void
vlclua_release_playlist_internal
(
playlist_t
*
p_playlist
)
void
vlclua_release_playlist_internal
(
playlist_t
*
p_playlist
)
{
{
pl_R
elease
(
p_playlist
);
vlc_object_r
elease
(
p_playlist
);
}
}
static
int
vlclua_playlist_prev
(
lua_State
*
L
)
static
int
vlclua_playlist_prev
(
lua_State
*
L
)
...
...
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