GetFormat()

Updated: April 19, 2023

Get format information about the media data

Synopsis:

#include <OMXAL/OpenMAXAL_QNX.h>
struct XAQNXBufferQueueSinkItf_ {
    XAresult (*GetFormat)(XAQNXBufferQueueSinkItf self,
                          XADataFormat_QNXEncoded *format);
} ;

Arguments:

self
A reference to the sink interface
format
A pointer to memory for storing an XADataFormat_QNXEncoded structure. This structure stores format settings describing the audio and video content sent to the sink. The content can be an encoded audio/video bitstream (for Media Player or Media Recorder), MP4 file data (for Media Recorder), raw audio/video (for Media Player), or a Screen buffer (for Media Player).

Library:

mmfilter

Returns:

An XA_RESULT_* constant indicating the operation result