SHA256
Add Debug Log When Skipping Encoder
This commit is contained in:
1 parent
c24f9afbae
commit
463d95d16f
1 file changed
+5
-1
@@ -372,7 +372,11 @@ namespace ADOFAIRenderer.Util.FFmpeg
|
||||
// Returns null if the encoder is not included in the build.
|
||||
// Reference: https://ffmpeg.org/doxygen/trunk/group__lavc__encoding.html
|
||||
var pCodec = ffmpeg.avcodec_find_encoder_by_name(encoder.Name);
|
||||
if (pCodec == null) continue;
|
||||
if (pCodec == null)
|
||||
{
|
||||
Melon<RenderMod>.Logger.Warning($"Encoder '{encoder.Name}' not found in FFmpeg library. Testing next candidate codec.");
|
||||
continue;
|
||||
}
|
||||
|
||||
// avcodec_alloc_context3: Allocates a codec context for the selected encoder.
|
||||
// All encoding parameters such as resolution, framerate, quality, etc., are set on this context.
|
||||
|
||||
Reference in new issue
Block a user