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 <mart...@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

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to