Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
40fbcb70
Commit
40fbcb70
authored
Jun 24, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Libvlc: Make media_instance_destroy private.
parent
e054ef8b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
include/vlc/libvlc.h
include/vlc/libvlc.h
+0
-5
src/control/libvlc_internal.h
src/control/libvlc_internal.h
+3
-0
src/control/media_instance.c
src/control/media_instance.c
+1
-1
No files found.
include/vlc/libvlc.h
View file @
40fbcb70
...
...
@@ -317,11 +317,6 @@ VLC_PUBLIC_API libvlc_media_instance_t * libvlc_media_instance_new( libvlc_insta
*/
VLC_PUBLIC_API
libvlc_media_instance_t
*
libvlc_media_instance_new_from_media_descriptor
(
libvlc_media_descriptor_t
*
,
libvlc_exception_t
*
);
/** Destroy a Media Instance object (going private)
* \param p_mi the Media Instance to free
*/
VLC_PUBLIC_API
void
libvlc_media_instance_destroy
(
libvlc_media_instance_t
*
);
/** Release a media_instance after use
* \param p_mi the Media Instance to free
*/
...
...
src/control/libvlc_internal.h
View file @
40fbcb70
...
...
@@ -101,6 +101,9 @@ VLC_EXPORT (input_thread_t *, libvlc_get_input_thread,
VLC_EXPORT
(
libvlc_media_instance_t
*
,
libvlc_media_instance_new_from_input_thread
,
(
struct
libvlc_instance_t
*
,
input_thread_t
*
,
libvlc_exception_t
*
)
);
VLC_EXPORT
(
void
,
libvlc_media_instance_destroy
,
(
libvlc_media_instance_t
*
)
);
VLC_EXPORT
(
libvlc_media_descriptor_t
*
,
libvlc_media_descriptor_new_from_input_item
,
(
struct
libvlc_instance_t
*
,
input_item_t
*
,
libvlc_exception_t
*
)
);
...
...
src/control/media_instance.c
View file @
40fbcb70
...
...
@@ -159,7 +159,7 @@ libvlc_media_instance_t * libvlc_media_instance_new_from_input_thread(
}
/**************************************************************************
* Destroy a Media Instance object
* Destroy a Media Instance object
(libvlc internal)
**************************************************************************/
void
libvlc_media_instance_destroy
(
libvlc_media_instance_t
*
p_mi
)
{
...
...
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