From 5edf4d3dc7b921658b7f4ad815b5ee68b2e737d0 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 6 Mar 2023 21:26:18 -0600 Subject: [PATCH] Print FFmpeg decoder name --- src/video/ffmpeg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video/ffmpeg.c b/src/video/ffmpeg.c index 82a64f4..7e42d74 100644 --- a/src/video/ffmpeg.c +++ b/src/video/ffmpeg.c @@ -86,6 +86,8 @@ int ffmpeg_init(int videoFormat, int width, int height, int perf_lvl, int buffer return -1; } + printf("Using FFmpeg decoder: %s\n", decoder->name); + decoder_ctx = avcodec_alloc_context3(decoder); if (decoder_ctx == NULL) { printf("Couldn't allocate context");