The branch, master has been updated
via f317b6c052f1108fcf2ce07b28efa2484c21cabe (commit)
from 9893d66addd19401830a9187525194354882fee8 (commit)
- Log -----------------------------------------------------------------
commit f317b6c052f1108fcf2ce07b28efa2484c21cabe
Author: Gyan Doshi <[email protected]>
AuthorDate: Sun Aug 31 16:48:03 2025 +0530
Commit: Gyan Doshi <[email protected]>
CommitDate: Sun Aug 31 16:48:03 2025 +0530
lavc/codec_desc: add lossless flags for hevc and av1
Both codecs support a lossless mode akin to H.264/AVC
diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index a065556e51..d5d178cc7e 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -1277,7 +1277,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
.type = AVMEDIA_TYPE_VIDEO,
.name = "hevc",
.long_name = NULL_IF_CONFIG_SMALL("H.265 / HEVC (High Efficiency Video
Coding)"),
- .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
+ .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS |
AV_CODEC_PROP_REORDER,
.profiles = NULL_IF_CONFIG_SMALL(ff_hevc_profiles),
},
{
@@ -1648,7 +1648,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
.type = AVMEDIA_TYPE_VIDEO,
.name = "av1",
.long_name = NULL_IF_CONFIG_SMALL("Alliance for Open Media AV1"),
- .props = AV_CODEC_PROP_LOSSY,
+ .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS,
.profiles = NULL_IF_CONFIG_SMALL(ff_av1_profiles),
},
{
-----------------------------------------------------------------------
Summary of changes:
libavcodec/codec_desc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]