在上一篇介绍了解封装后解码前的队列PacketQueue,本篇分析解码后的数据队列FrameQueue,该队列的第一个成员是Frame, 声明如下:
/* Common struct for handling all types of decoded data and allocated render buffers. */
typedef struct Frame {
AVFrame *frame; //音频或视频的解码数据
AVSubtitle sub; //字幕数据
int serial;
double pts; /* presentation timestamp for the frame */
double