mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-22 04:24:56 +00:00
Use ffv1 if user requests it.
This commit is contained in:
parent
a3af5b09d3
commit
8c24387509
1 changed files with 2 additions and 1 deletions
|
@ -139,7 +139,8 @@ bool AVIDump::CreateVideoFile()
|
|||
return false;
|
||||
}
|
||||
|
||||
const AVCodecDescriptor* codec_desc = avcodec_descriptor_get_by_name(g_Config.sDumpCodec.c_str());
|
||||
const std::string& codec_name = g_Config.bUseFFV1 ? "ffv1" : g_Config.sDumpCodec;
|
||||
const AVCodecDescriptor* codec_desc = avcodec_descriptor_get_by_name(codec_name.c_str());
|
||||
AVCodecID codec_id = codec_desc ? codec_desc->id : output_format->video_codec;
|
||||
|
||||
const AVCodec* codec = nullptr;
|
||||
|
|
Loading…
Add table
Reference in a new issue