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
3c5ed2fe
Commit
3c5ed2fe
authored
May 19, 2007
by
Filippo Carone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
free callbacks on libvlc destruction
parent
2252bf63
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
+14
-2
include/vlc/libvlc_structures.h
include/vlc/libvlc_structures.h
+5
-1
src/control/core.c
src/control/core.c
+9
-0
src/control/libvlc_internal.h
src/control/libvlc_internal.h
+0
-1
No files found.
include/vlc/libvlc_structures.h
View file @
3c5ed2fe
...
@@ -32,6 +32,11 @@ extern "C" {
...
@@ -32,6 +32,11 @@ extern "C" {
/** This structure is opaque. It represents a libvlc instance */
/** This structure is opaque. It represents a libvlc instance */
typedef
struct
libvlc_instance_t
libvlc_instance_t
;
typedef
struct
libvlc_instance_t
libvlc_instance_t
;
/*****************************************************************************
* Exceptions
*****************************************************************************/
/** defgroup libvlc_exception Exceptions
/** defgroup libvlc_exception Exceptions
* \ingroup libvlc
* \ingroup libvlc
* LibVLC Exceptions handling
* LibVLC Exceptions handling
...
@@ -56,7 +61,6 @@ typedef struct
...
@@ -56,7 +61,6 @@ typedef struct
* @{
* @{
*/
*/
typedef
struct
{
typedef
struct
{
int
i_id
;
int
i_id
;
char
*
psz_uri
;
char
*
psz_uri
;
...
...
src/control/core.c
View file @
3c5ed2fe
...
@@ -107,6 +107,15 @@ libvlc_instance_t * libvlc_new( int argc, char **argv,
...
@@ -107,6 +107,15 @@ libvlc_instance_t * libvlc_new( int argc, char **argv,
void
libvlc_destroy
(
libvlc_instance_t
*
p_instance
,
libvlc_exception_t
*
p_e
)
void
libvlc_destroy
(
libvlc_instance_t
*
p_instance
,
libvlc_exception_t
*
p_e
)
{
{
struct
libvlc_callback_entry_list_t
*
p_listitem
=
p_instance
->
p_callback_list
;
while
(
p_listitem
)
{
struct
libvlc_callback_entry_list
*
p_nextlistitem
=
p_listitem
->
next
;
free
(
p_listitem
);
p_listitem
=
p_nextlistitem
;
}
libvlc_InternalCleanup
(
p_instance
->
p_libvlc_int
);
libvlc_InternalCleanup
(
p_instance
->
p_libvlc_int
);
libvlc_InternalDestroy
(
p_instance
->
p_libvlc_int
,
VLC_FALSE
);
libvlc_InternalDestroy
(
p_instance
->
p_libvlc_int
,
VLC_FALSE
);
}
}
...
...
src/control/libvlc_internal.h
View file @
3c5ed2fe
...
@@ -70,7 +70,6 @@ struct libvlc_instance_t
...
@@ -70,7 +70,6 @@ struct libvlc_instance_t
struct
libvlc_callback_entry_list_t
*
p_callback_list
;
struct
libvlc_callback_entry_list_t
*
p_callback_list
;
};
};
struct
libvlc_input_t
struct
libvlc_input_t
{
{
int
i_input_id
;
///< Input object id. We don't use a pointer to
int
i_input_id
;
///< Input object id. We don't use a pointer to
...
...
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