]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/internal.h
Merge commit '41bcc3d15204f290400ba02e4e8f87fc07bcc00e'
[ffmpeg] / libavcodec / internal.h
index ce4cf753d6afa1107f0b6ff690cd93e5caa4b68b..89f5aa2715d125a182555c7e38548f18b150b59a 100644 (file)
  * all.
  */
 #define FF_CODEC_CAP_INIT_CLEANUP           (1 << 1)
-
+/**
+ * Decoders marked with FF_CODEC_CAP_SETS_PKT_DTS want to set
+ * AVFrame.pkt_dts manually. If the flag is set, utils.c won't overwrite
+ * this field. If it's unset, utils.c tries to guess the pkt_dts field
+ * from the input AVPacket.
+ */
+#define FF_CODEC_CAP_SETS_PKT_DTS           (1 << 2)
 
 #ifdef TRACE
 #   define ff_tlog(ctx, ...) av_log(ctx, AV_LOG_TRACE, __VA_ARGS__)