X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fpacket.h;h=b9d4c9c2c85aae01a327791b898f529392f7e90d;hb=3a5b857d4c455f20d811cad81c7251af2f82fba2;hp=96f237f0911a10a99c593b4458e4bed35e487062;hpb=45ddf06f54915bfcfb6bdfa8b983f4fdbf7bf4dc;p=ffmpeg diff --git a/libavcodec/packet.h b/libavcodec/packet.h index 96f237f0911..b9d4c9c2c85 100644 --- a/libavcodec/packet.h +++ b/libavcodec/packet.h @@ -282,6 +282,14 @@ enum AVPacketSideDataType { */ AV_PKT_DATA_DOVI_CONF, + /** + * Timecode which conforms to SMPTE ST 12-1:2014. The data is an array of 4 uint32_t + * where the first uint32_t describes how many (1-3) of the other timecodes are used. + * The timecode format is described in the documentation of av_timecode_get_smpte_from_framenum() + * function in libavutil/timecode.h. + */ + AV_PKT_DATA_S12M_TIMECODE, + /** * The number of side data types. * This is not part of the public API/ABI in the sense that it may @@ -385,6 +393,11 @@ typedef struct AVPacket { #endif } AVPacket; +typedef struct AVPacketList { + AVPacket pkt; + struct AVPacketList *next; +} AVPacketList; + #define AV_PKT_FLAG_KEY 0x0001 ///< The packet contains a keyframe #define AV_PKT_FLAG_CORRUPT 0x0002 ///< The packet content is corrupted /**