MP4DMXGetTrackInf

Syntax

#include <cafe/mp4dmx.h>

s32
MP4DMXGetTrackInf(
    s32                   track_index,
    MP4DMXMpoMp4TrackInf  *mp4TrackInf,
    void                  *handle
);

Parameters

track_index The track's index (Input).
mp4TrackInf Address where track information is stored (Output).
handle A pointer referencing an object handle (Input).

Return Values

MP4DMX_RET_SUCCESS Success.
MP4DMX_RET_INVALID_TRACK_INDEX Failure. This error is returned when a nonexistent track index is specified.
MP4DMX_RET_ERROR_NOT_ENOUGH_MEMORY Failure. This error is returned when the necessary memory could not be allocated.
MP4DMX_RET_ERROR_INVALID_POINTER Failure. This error is returned when an argument is NULL.
MP4DMX_RET_ERROR_FATAL Failure. This error is returned when functions are not called in the correct order.

Description

Gets attributes specific to a track.

This function can only be called after a header has been parsed (call to MP4DMXReadHeader).

Do Not Call From

Background Do not call this function from the background.
Multiple threads This function is not thread-safe.

See Also

MP4DMXGetHeaderInf
MP4DMXGetVideoTrackInf
MP4DMXGetAudioTrackInf
MP4DMXGetAVCSpecificInf
MP4DMXGetDecoderSpecificInf

Revision History

2014/07/30 Initial version.


CONFIDENTIAL