[FFmpeg-devel] [PATCH v2 1/2] libavcodec: add AV_CODEC_ID_IVTV_VBI
Scott Theisen
scott.the.elm at gmail.com
Sun Dec 15 00:00:22 EET 2024
---
doc/APIchanges | 3 +++
libavcodec/codec_desc.c | 6 ++++++
libavcodec/codec_id.h | 1 +
libavcodec/version.c | 2 +-
4 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/doc/APIchanges b/doc/APIchanges
index b9af3de933..8fc55ad80b 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2024-03-07
API changes, most recent first:
+2024-12-14 - xxxxxxxxxx - lavc 61.26.100 - codec_id.h
+ Add AV_CODEC_ID_IVTV_VBI.
+
2024-12-05 - xxxxxxxxxx - lavu 59.49.100 - csp.h
Add av_csp_itu_eotf() and av_csp_itu_eotf_inv().
diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index bc9163bf98..38aed994d9 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -3634,6 +3634,12 @@ static const AVCodecDescriptor codec_descriptors[] = {
.long_name = NULL_IF_CONFIG_SMALL("ARIB STD-B24 caption"),
.profiles = NULL_IF_CONFIG_SMALL(ff_arib_caption_profiles),
},
+ {
+ .id = AV_CODEC_ID_IVTV_VBI,
+ .type = AVMEDIA_TYPE_SUBTITLE,
+ .name = "ivtv_vbi",
+ .long_name = NULL_IF_CONFIG_SMALL("ivtv VBI captions"),
+ },
/* other kind of codecs and pseudo-codecs */
{
diff --git a/libavcodec/codec_id.h b/libavcodec/codec_id.h
index 6bfaa02601..69663cb24e 100644
--- a/libavcodec/codec_id.h
+++ b/libavcodec/codec_id.h
@@ -579,6 +579,7 @@ enum AVCodecID {
AV_CODEC_ID_HDMV_TEXT_SUBTITLE,
AV_CODEC_ID_TTML,
AV_CODEC_ID_ARIB_CAPTION,
+ AV_CODEC_ID_IVTV_VBI,
/* other specific kind of codecs (generally used for attachments) */
AV_CODEC_ID_FIRST_UNKNOWN = 0x18000, ///< A dummy ID pointing at the start of various fake codecs.
diff --git a/libavcodec/version.c b/libavcodec/version.c
index 03dd95e5ba..8a0398f28f 100644
--- a/libavcodec/version.c
+++ b/libavcodec/version.c
@@ -36,7 +36,7 @@ unsigned avcodec_version(void)
AV_CODEC_ID_ADPCM_XMD == 69683 &&
AV_CODEC_ID_CBD2_DPCM == 81928 &&
AV_CODEC_ID_QOA == 86121 &&
- AV_CODEC_ID_ARIB_CAPTION == 94233 &&
+ AV_CODEC_ID_IVTV_VBI == 94234 &&
AV_CODEC_ID_SMPTE_2038 == 98315,
"Don't insert new codec ids in the middle of a list");
static_assert(LIBAVCODEC_VERSION_MICRO >= 100, "micro version starts at 100");
--
2.43.0
More information about the ffmpeg-devel
mailing list