[FFmpeg-cvslog] avcodec: add AV_PKT_DATA_AFD to allow AFD data to be embedded in AVPacket

Devin Heitmueller git at videolan.org
Sun Sep 9 23:52:07 EEST 2018


ffmpeg | branch: master | Devin Heitmueller <dheitmueller at ltnglobal.com> | Fri Sep  7 15:40:26 2018 -0400| [35498c124a81d4207e34e115840138d71307c2e3] | committer: Marton Balint

avcodec: add AV_PKT_DATA_AFD to allow AFD data to be embedded in AVPacket

Create a new AVPacket side data type for Active Format Description,
which mirrors the side data type found in AVFrame.  The primary
use case for this is ensuring AFD gets preserved in the V210
encoder, so that the decklink libavdevice can output AFD.

Signed-off-by: Devin Heitmueller <dheitmueller at ltnglobal.com>
Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=35498c124a81d4207e34e115840138d71307c2e3
---

 doc/APIchanges       | 3 +++
 libavcodec/avcodec.h | 6 ++++++
 libavcodec/version.h | 2 +-
 3 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/doc/APIchanges b/doc/APIchanges
index 468cc122c7..a40476d630 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -15,6 +15,9 @@ libavutil:     2017-10-21
 
 API changes, most recent first:
 
+2018-09-09 - xxxxxxxxxx - lavc 58.29.100 - avcodec.h
+  Add AV_PKT_DATA_AFD
+
 2018-08-16 - xxxxxxxxxx - lavc 58.23.100 - avcodec.h
   Add av_bsf_flush().
 
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 719c181a08..705a3ce4f3 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1366,6 +1366,12 @@ enum AVPacketSideDataType {
     AV_PKT_DATA_ENCRYPTION_INFO,
 
     /**
+     * Active Format Description data consisting of a single byte as specified
+     * in ETSI TS 101 154 using AVActiveFormatDescription enum.
+     */
+    AV_PKT_DATA_AFD,
+
+    /**
      * The number of side data types.
      * This is not part of the public API/ABI in the sense that it may
      * change when new side data types are added.
diff --git a/libavcodec/version.h b/libavcodec/version.h
index c09249191c..9aaa24b092 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -28,7 +28,7 @@
 #include "libavutil/version.h"
 
 #define LIBAVCODEC_VERSION_MAJOR  58
-#define LIBAVCODEC_VERSION_MINOR  28
+#define LIBAVCODEC_VERSION_MINOR  29
 #define LIBAVCODEC_VERSION_MICRO 100
 
 #define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \



More information about the ffmpeg-cvslog mailing list