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
57a4f916
Commit
57a4f916
authored
Oct 02, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Remove libvlc_free"
This reverts commit
61f0547b
. Conflicts: include/vlc/libvlc.h
parent
39349f5c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
1 deletion
+15
-1
include/vlc/libvlc.h
include/vlc/libvlc.h
+8
-0
include/vlc/libvlc_media_player.h
include/vlc/libvlc_media_player.h
+1
-1
src/control/core.c
src/control/core.c
+5
-0
src/libvlc.sym
src/libvlc.sym
+1
-0
No files found.
include/vlc/libvlc.h
View file @
57a4f916
...
...
@@ -226,6 +226,14 @@ VLC_PUBLIC_API const char * libvlc_get_compiler(void);
*/
VLC_PUBLIC_API
const
char
*
libvlc_get_changeset
(
void
);
/**
* Frees an heap allocation returned by a LibVLC function.
* If you know you're using the same underlying C run-time as the LibVLC
* implementation, then you can call ANSI C free() directly instead.
*
* \param ptr the pointer
*/
VLC_PUBLIC_API
void
libvlc_free
(
void
*
ptr
);
/** \defgroup libvlc_event LibVLC asynchronous events
* LibVLC emits asynchronous events.
...
...
include/vlc/libvlc_media_player.h
View file @
57a4f916
...
...
@@ -735,7 +735,7 @@ VLC_PUBLIC_API void libvlc_video_set_scale( libvlc_media_player_t *p_mi, float f
*
* \param p_mi the media player
* \return the video aspect ratio or NULL if unspecified
* (the result must be released with free()).
* (the result must be released with free()
or libvlc_free()
).
*/
VLC_PUBLIC_API
char
*
libvlc_video_get_aspect_ratio
(
libvlc_media_player_t
*
p_mi
);
...
...
src/control/core.c
View file @
57a4f916
...
...
@@ -159,3 +159,8 @@ const char * libvlc_get_changeset(void)
extern
const
char
psz_vlc_changeset
[];
return
psz_vlc_changeset
;
}
void
libvlc_free
(
void
*
ptr
)
{
free
(
ptr
);
}
src/libvlc.sym
View file @
57a4f916
...
...
@@ -32,6 +32,7 @@ libvlc_event_manager_register_event_type
libvlc_event_manager_release
libvlc_event_send
libvlc_event_type_name
libvlc_free
libvlc_get_changeset
libvlc_get_compiler
libvlc_get_fullscreen
...
...
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