[FFmpeg-devel] [PATCH v2 10/11] avcodec/avcodec: don't print Closed Captions indicator

Marth64 marth64 at proxyid.net
Thu Nov 28 03:15:13 EET 2024


This is now printed at a disposition level.

Signed-off-by: Marth64 <marth64 at proxyid.net>
---
 libavcodec/avcodec.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/avcodec.c b/libavcodec/avcodec.c
index 1fa8704c9d..2dc9b165fb 100644
--- a/libavcodec/avcodec.c
+++ b/libavcodec/avcodec.c
@@ -647,8 +647,6 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode)
         if (encode) {
             av_bprintf(&bprint, ", q=%d-%d", enc->qmin, enc->qmax);
         } else {
-            if (enc->properties & FF_CODEC_PROPERTY_CLOSED_CAPTIONS)
-                av_bprintf(&bprint, ", Closed Captions");
             if (enc->properties & FF_CODEC_PROPERTY_FILM_GRAIN)
                 av_bprintf(&bprint, ", Film Grain");
             if (enc->properties & FF_CODEC_PROPERTY_LOSSLESS)
-- 
2.34.1



More information about the ffmpeg-devel mailing list