Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-09-12 14:30:33 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2015-09-12 14:30:33 +0300
commit264ff3dd2e5c0ca9963809730cb95614251b39d5 (patch)
tree7712f568c90cb95231890726ec9ea8382af941b9 /libavcodec/internal.h
parent30fb54c23f520c4bd1f6563ea1821de96b8f4a17 (diff)
parent87a051f97633010f71dfc1d23d806856499bf231 (diff)
Merge commit '87a051f97633010f71dfc1d23d806856499bf231'
* commit '87a051f97633010f71dfc1d23d806856499bf231': lavc: allow asynchronous decoders to return correct pkt_dts values Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r--libavcodec/internal.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index ce4cf753d6..89f5aa2715 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -46,7 +46,13 @@
* 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__)