mmplaylist_supported_fmts_get()

Get the list of supported playlist formats

Synopsis:

#include <mm/mmplaylist.h>
mmplaylist_fmt_list_t* mmplaylist_supported_fmts_get(void)

Library:

libmmplaylist

Description:

This function gets the list of playlist formats supported by the library.

The library allocates memory for the data structure that stores the number of supported playlist types and the file extensions of these types, then returns a pointer to this structure. Callers must use mmplaylist_supported_fmts_release() to release the memory when they're done with it. They must not modify or free the memory; doing so will result in unpredictable behavior.

Returns:

A pointer to an mmplaylist_fmt_list_t structure on success.

NULL on failure (call mmplaylist_last_error_get() for details).