[FFmpeg-devel] [PATCH v2 06/11] fftools/ffprobe: remove film_grain and closed_captions properties

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


ffprobe cannot access the inner codec context when setting up
the streams, so the values for these fields are always 0.

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

diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c
index 14b98d22a1..2cb3476656 100644
--- a/fftools/ffprobe.c
+++ b/fftools/ffprobe.c
@@ -3337,8 +3337,6 @@ static int show_stream(WriterContext *w, AVFormatContext *fmt_ctx, int stream_id
         if (dec_ctx) {
             print_int("coded_width",  dec_ctx->coded_width);
             print_int("coded_height", dec_ctx->coded_height);
-            print_int("closed_captions", !!(dec_ctx->properties & FF_CODEC_PROPERTY_CLOSED_CAPTIONS));
-            print_int("film_grain", !!(dec_ctx->properties & FF_CODEC_PROPERTY_FILM_GRAIN));
         }
         print_int("has_b_frames", par->video_delay);
         sar = av_guess_sample_aspect_ratio(fmt_ctx, stream, NULL);
-- 
2.34.1



More information about the ffmpeg-devel mailing list