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 data structure filled in by this function contains the number of supported playlist types and a pointer to an array of strings containing the file extensions of the supported playlist types.

The library allocates memory for the data structure and returns a pointer to it. 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 themselves; doing so will result in unpredictable behavior.

Returns:

A pointer to an mmplaylist_fmt_list_t structure
Success.
NULL
Failure (call mmplaylist_last_error_get() for details).