[vlc-devel] [PATCH 00/10 v2] libvlc free allocated memory internally

Steve Lhomme robux4 at ycbcr.xyz
Mon May 27 15:38:12 CEST 2019


Compared to the previous patchset:
- no more libvlc_free_string(), the strings are kept in the structure/object
  that created it
- the marquee options are passed using the enum
- new defines were added so we know the array size to use for the meta/marquee
  strings

Steve Lhomme (10):
  libvlc: document which function was used to set the user values
  libvlc: use the libvlc_video_marquee_option_t enum directly
  libvlc: add a function to release a viewpoint
  libvlc: keep the audio device string in the libvlc_media_player_t
  libvlc: keep the crop geometry string in the libvlc_media_player_t
  libvlc: keep the aspect ratio string in the libvlc_media_player_t
  libvlc: add defines to know how many items the marquee/meta enums
    contain
  libvlc: keep the marquee strings in the libvlc_media_player_t
  libvlc: keep the meta strings in the libvlc_media_t
  libvlc: keep the MRL strings in the libvlc_media_t

 include/vlc/libvlc_dialog.h       |  2 +-
 include/vlc/libvlc_media.h        | 14 +++++++----
 include/vlc/libvlc_media_player.h | 41 +++++++++++++++++++------------
 lib/audio.c                       |  8 +++---
 lib/libvlc.sym                    |  1 +
 lib/media.c                       | 32 +++++++++++++++---------
 lib/media_internal.h              |  4 +++
 lib/media_player.c                | 11 +++++++++
 lib/media_player_internal.h       |  6 +++++
 lib/video.c                       | 32 ++++++++++++++++--------
 test/libvlc/media.c               |  6 ++---
 test/libvlc/media_discoverer.c    |  1 -
 test/libvlc/media_list_player.c   |  6 ++---
 test/libvlc/meta.c                |  3 +--
 test/libvlc/slaves.c              | 14 +++--------
 15 files changed, 113 insertions(+), 68 deletions(-)

-- 
2.17.1



More information about the vlc-devel mailing list