comparison avcodec.h @ 10180:a514a601bf26 libavcodec

Add CODEC_CAP_SUBFRAMES for codecs that output multiple subframes per AVPacket No longer print "Multiple frames in a packet" error message when CODEC_CAP_SUBFRAMES is set (wmapro, wavpack)
author faust3
date Wed, 16 Sep 2009 15:08:26 +0000
parents 2fc1e93229ee
children 2ab0e95bc837
comparison
equal deleted inserted replaced
10179:0ac7e80ecc76 10180:a514a601bf26
603 #define CODEC_CAP_SMALL_LAST_FRAME 0x0040 603 #define CODEC_CAP_SMALL_LAST_FRAME 0x0040
604 /** 604 /**
605 * Codec can export data for HW decoding (VDPAU). 605 * Codec can export data for HW decoding (VDPAU).
606 */ 606 */
607 #define CODEC_CAP_HWACCEL_VDPAU 0x0080 607 #define CODEC_CAP_HWACCEL_VDPAU 0x0080
608 /**
609 * Codec can output multiple frames per AVPacket
610 */
611 #define CODEC_CAP_SUBFRAMES 0x0100
608 612
609 //The following defines may change, don't expect compatibility if you use them. 613 //The following defines may change, don't expect compatibility if you use them.
610 #define MB_TYPE_INTRA4x4 0x0001 614 #define MB_TYPE_INTRA4x4 0x0001
611 #define MB_TYPE_INTRA16x16 0x0002 //FIXME H.264-specific 615 #define MB_TYPE_INTRA16x16 0x0002 //FIXME H.264-specific
612 #define MB_TYPE_INTRA_PCM 0x0004 //FIXME H.264-specific 616 #define MB_TYPE_INTRA_PCM 0x0004 //FIXME H.264-specific