summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-07-07 11:25:03 +0200
committerAnton Khirnov <anton@khirnov.net>2011-07-12 15:30:10 +0200
commit5f847bf61dca1fd1a2f65a2f56c9a99d1cb716ab (patch)
treec6efb65d184923aa8b5e2eaa87336a59bdec4a1f /libavformat/avformat.h
parentb12c2592525c3d8e12265a3d923a945d6f699a5b (diff)
downloadffmpeg-5f847bf61dca1fd1a2f65a2f56c9a99d1cb716ab.tar.gz
lavf: deprecate AVFormatContext.timestamp
It's replaced by 'creation_time' metadata tag.
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 6e861de262..38bb86592e 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -674,7 +674,12 @@ typedef struct AVFormatContext {
AVStream **streams;
char filename[1024]; /**< input or output filename */
/* stream info */
- int64_t timestamp;
+#if FF_API_TIMESTAMP
+ /**
+ * @deprecated use 'creation_time' metadata tag instead
+ */
+ attribute_deprecated int64_t timestamp;
+#endif
int ctx_flags; /**< Format-specific flags, see AVFMTCTX_xx */
/* private data for pts handling (do not modify directly). */