[FFmpeg-devel] [PATCH 3/6] Preserve AFD side data when going from AVPacket to AVFrame
Devin Heitmueller
dheitmueller at ltnglobal.com
Thu Nov 16 20:34:14 EET 2017
This is needed to ensure that AFD data continues to work when
capturing V210 video with the Decklink libavdevice input.
Signed-off-by: Devin Heitmueller <dheitmueller at ltnglobal.com>
---
libavcodec/decode.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/decode.c b/libavcodec/decode.c
index a7f1e23..e981651 100644
--- a/libavcodec/decode.c
+++ b/libavcodec/decode.c
@@ -1537,6 +1537,7 @@ int ff_init_buffer_info(AVCodecContext *avctx, AVFrame *frame)
{ AV_PKT_DATA_MASTERING_DISPLAY_METADATA, AV_FRAME_DATA_MASTERING_DISPLAY_METADATA },
{ AV_PKT_DATA_CONTENT_LIGHT_LEVEL, AV_FRAME_DATA_CONTENT_LIGHT_LEVEL },
{ AV_PKT_DATA_A53_CC, AV_FRAME_DATA_A53_CC },
+ { AV_PKT_DATA_AFD, AV_FRAME_DATA_AFD },
};
if (pkt) {
--
1.8.3.1
More information about the ffmpeg-devel
mailing list