Commit a7632b09 authored by Max Kellermann's avatar Max Kellermann

ffmpeg: print codec name

Output the name of the codec as a debug message. During my tests, ffmpeg never filled this struct member, but it may do so in the past, and this debug message might become helpful.
parent 3b0a78fe
......@@ -177,6 +177,9 @@ ffmpeg_helper(struct input_stream *input,
}
codec_context = format_context->streams[audio_stream]->codec;
if (codec_context->codec_name[0] != 0)
g_debug("codec '%s'", codec_context->codec_name);
codec = avcodec_find_decoder(codec_context->codec_id);
if (!codec) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment