OSDN Git Service

lavc: Document AV_PKT_DATA_NEW_EXTRADATA
authorVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 9 Jun 2016 22:55:16 +0000 (18:55 -0400)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Fri, 17 Jun 2016 15:02:40 +0000 (11:02 -0400)
libavcodec/avcodec.h

index 87a7a9d..b03d0b8 100644 (file)
@@ -1187,6 +1187,14 @@ typedef struct AVCPBProperties {
  */
 enum AVPacketSideDataType {
     AV_PKT_DATA_PALETTE,
+
+    /**
+     * The AV_PKT_DATA_NEW_EXTRADATA is used to notify the codec or the format
+     * that the extradata buffer was changed and the receiving side should
+     * act upon it appropriately. The new extradata is embedded in the side
+     * data buffer and should be immediately used for processing the current
+     * frame or packet.
+     */
     AV_PKT_DATA_NEW_EXTRADATA,
 
     /**