[vlc-devel] [PATCH] playlist: clarify possible values for export type

Alexandre Janniaux ajanni at videolabs.io
Wed Jul 10 15:17:58 CEST 2019


Hi,

Maybe "type: the export module to use" is confusing but it's better
than previously and has the correct Doxygen output.

On Wed, Jul 10, 2019 at 02:33:27PM +0200, Romain Vimont wrote:
> ---
>  include/vlc_playlist.h | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/include/vlc_playlist.h b/include/vlc_playlist.h
> index 5b35cf6ac9..8d2ce64a27 100644
> --- a/include/vlc_playlist.h
> +++ b/include/vlc_playlist.h
> @@ -870,8 +870,15 @@ vlc_playlist_Preparse(vlc_playlist_t *playlist, input_item_t *media);
>  /**
>   * Export the playlist to a file.
>   *
> + * The type parameter specifies the export module (defined in
> + * `modules/misc/playlist/export.c`) to use. Possible values are:
> + *  - `"export-html"`
> + *  - `"export-m3u"`
> + *  - `"export-m3u8"`
> + *  - `"export-xspf"`
> + *
>   * \param filename the location where the exported file will be saved
> - * \param type the type of the playlist file to create (m3u, m3u8, xspf, ...)
> + * \param type the export module to use
>   * \return VLC_SUCCESS on success, another value on error
>   */
>  // XXX use vlc_memstream instead of filename?
> --
> 2.20.1
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list