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
b554afa9
Commit
b554afa9
authored
Jan 29, 2010
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove libvlc_get_vlc_instance hack from libvlc
parent
87ffb90b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
22 deletions
+0
-22
include/vlc/libvlc.h
include/vlc/libvlc.h
+0
-14
src/control/core.c
src/control/core.c
+0
-7
src/libvlc.sym
src/libvlc.sym
+0
-1
No files found.
include/vlc/libvlc.h
View file @
b554afa9
...
@@ -234,20 +234,6 @@ VLC_PUBLIC_API const char * libvlc_get_changeset(void);
...
@@ -234,20 +234,6 @@ VLC_PUBLIC_API const char * libvlc_get_changeset(void);
struct
vlc_object_t
;
struct
vlc_object_t
;
/**
* Get the internal main VLC object.
* Use of this function is usually a hack and should be avoided.
* @note
* You will need to link with libvlccore to make any use of the underlying VLC
* object. The libvlccore programming and binary interfaces are not stable.
* @warning
* Remember to release the object with vlc_object_release().
*
* \param p_instance the libvlc instance
* @return a VLC object of type "libvlc"
*/
VLC_PUBLIC_API
struct
vlc_object_t
*
libvlc_get_vlc_instance
(
libvlc_instance_t
*
p_instance
);
/**
/**
* Frees an heap allocation (char *) returned by a LibVLC API.
* Frees an heap allocation (char *) returned by a LibVLC API.
* If you know you're using the same underlying C run-time as the LibVLC
* If you know you're using the same underlying C run-time as the LibVLC
...
...
src/control/core.c
View file @
b554afa9
...
@@ -194,13 +194,6 @@ const char * libvlc_get_changeset(void)
...
@@ -194,13 +194,6 @@ const char * libvlc_get_changeset(void)
return
psz_vlc_changeset
;
return
psz_vlc_changeset
;
}
}
/* export internal libvlc_instance for ugly hacks with libvlccore */
vlc_object_t
*
libvlc_get_vlc_instance
(
libvlc_instance_t
*
p_instance
)
{
vlc_object_hold
(
p_instance
->
p_libvlc_int
)
;
return
(
vlc_object_t
*
)
p_instance
->
p_libvlc_int
;
}
void
libvlc_free
(
void
*
ptr
)
void
libvlc_free
(
void
*
ptr
)
{
{
free
(
ptr
);
free
(
ptr
);
...
...
src/libvlc.sym
View file @
b554afa9
...
@@ -41,7 +41,6 @@ libvlc_get_fullscreen
...
@@ -41,7 +41,6 @@ libvlc_get_fullscreen
libvlc_get_input_thread
libvlc_get_input_thread
libvlc_get_log_verbosity
libvlc_get_log_verbosity
libvlc_get_version
libvlc_get_version
libvlc_get_vlc_instance
libvlc_log_clear
libvlc_log_clear
libvlc_log_close
libvlc_log_close
libvlc_log_count
libvlc_log_count
...
...
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