Fixes the closed_captions and other properties fields emitted via
ffprobe's outputs.

Signed-off-by: Marth64 <mart...@proxyid.net>
---
 fftools/ffprobe.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c
index 71d1ffc21f..ed2edcd638 100644
--- a/fftools/ffprobe.c
+++ b/fftools/ffprobe.c
@@ -3948,6 +3948,7 @@ static int open_input_file(InputFile *ifile, const char 
*filename,
 
             av_dict_set(&opts, "flags", "+copy_opaque", AV_DICT_MULTIKEY);
 
+            ist->dec_ctx->properties   = 
av_stream_get_codec_properties(stream);
             ist->dec_ctx->pkt_timebase = stream->time_base;
 
             if (avcodec_open2(ist->dec_ctx, codec, &opts) < 0) {
-- 
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