mmr_metadata_split()

Find and split track or image metadata.

Synopsis:

#include <mm/renderer/events.h>
 
strm_dict_t* mmr_metadata_split(strm_dict_t const *md,
                                const char *type,
                                unsigned idx)

Since:

BlackBerry 10.3.0

Arguments:

md

A dictionary object containing complete metadata

type

Track type ("video", "audio", "subpicture"), or "image" for embedded images

idx

Index to look for (0 for the first track or image)

Library:

libmmrndclient (For the qcc command, use the -l mrndclient option to link against this library)

Description:

Returns:

A new dictionary object containing the parsed properties on success, or NULL if not found or error (check errno). errno could be one of ENOENT - attribute not found, EINVAL - md or type is a null pointer or has an invalid value, ENOMEM - no memory

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus