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
e58c9db6
Commit
e58c9db6
authored
May 26, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc: Remove libvlc_event_(init|fini) as they were finally not needed.
parent
e111c9e2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
30 deletions
+0
-30
src/control/core.c
src/control/core.c
+0
-4
src/control/event.c
src/control/event.c
+0
-22
src/control/libvlc_internal.h
src/control/libvlc_internal.h
+0
-4
No files found.
src/control/core.c
View file @
e58c9db6
...
@@ -132,8 +132,6 @@ libvlc_instance_t * libvlc_new( int argc, const char *const *argv,
...
@@ -132,8 +132,6 @@ libvlc_instance_t * libvlc_new( int argc, const char *const *argv,
vlc_mutex_init
(
&
p_new
->
instance_lock
);
vlc_mutex_init
(
&
p_new
->
instance_lock
);
vlc_mutex_init
(
&
p_new
->
event_callback_lock
);
vlc_mutex_init
(
&
p_new
->
event_callback_lock
);
libvlc_event_init
(
p_new
,
p_e
);
return
p_new
;
return
p_new
;
}
}
...
@@ -156,8 +154,6 @@ void libvlc_release( libvlc_instance_t *p_instance )
...
@@ -156,8 +154,6 @@ void libvlc_release( libvlc_instance_t *p_instance )
vlc_mutex_lock
(
lock
);
vlc_mutex_lock
(
lock
);
refs
=
--
p_instance
->
ref_count
;
refs
=
--
p_instance
->
ref_count
;
if
(
refs
==
0
)
libvlc_event_fini
(
p_instance
);
vlc_mutex_unlock
(
lock
);
vlc_mutex_unlock
(
lock
);
if
(
refs
==
0
)
if
(
refs
==
0
)
...
...
src/control/event.c
View file @
e58c9db6
...
@@ -56,28 +56,6 @@ group_contains_listener( libvlc_event_listeners_group_t * group,
...
@@ -56,28 +56,6 @@ group_contains_listener( libvlc_event_listeners_group_t * group,
* Internal libvlc functions
* Internal libvlc functions
*/
*/
/**************************************************************************
* libvlc_event_init (internal) :
*
* initialization function.
**************************************************************************/
void
libvlc_event_init
(
libvlc_instance_t
*
p_instance
,
libvlc_exception_t
*
p_e
)
{
VLC_UNUSED
(
p_instance
);
VLC_UNUSED
(
p_e
);
/* Will certainly be used to install libvlc_instance event */
}
/**************************************************************************
* libvlc_event_fini (internal) :
*
* finalization function.
**************************************************************************/
void
libvlc_event_fini
(
libvlc_instance_t
*
p_instance
)
{
VLC_UNUSED
(
p_instance
);
}
/**************************************************************************
/**************************************************************************
* libvlc_event_manager_init (internal) :
* libvlc_event_manager_init (internal) :
*
*
...
...
src/control/libvlc_internal.h
View file @
e58c9db6
...
@@ -50,10 +50,6 @@ VLC_EXPORT (int, libvlc_InternalDestroy, ( libvlc_int_t *, bool ) );
...
@@ -50,10 +50,6 @@ VLC_EXPORT (int, libvlc_InternalDestroy, ( libvlc_int_t *, bool ) );
VLC_EXPORT
(
int
,
libvlc_InternalAddIntf
,
(
libvlc_int_t
*
,
const
char
*
,
bool
,
VLC_EXPORT
(
int
,
libvlc_InternalAddIntf
,
(
libvlc_int_t
*
,
const
char
*
,
bool
,
bool
,
int
,
const
char
*
const
*
)
);
bool
,
int
,
const
char
*
const
*
)
);
void
libvlc_event_init
(
libvlc_instance_t
*
,
libvlc_exception_t
*
);
void
libvlc_event_fini
(
libvlc_instance_t
*
);
/***************************************************************************
/***************************************************************************
* Opaque structures for libvlc API
* Opaque structures for libvlc API
***************************************************************************/
***************************************************************************/
...
...
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