Fix software encoding defaulting to HEVC instead of H.264
Regression introduced by d973e5bbc7
This commit is contained in:
parent
f734d6684f
commit
8090fb496b
1 changed files with 4 additions and 0 deletions
|
|
@ -1931,6 +1931,10 @@ namespace video {
|
|||
encoder.hevc[encoder_t::REF_FRAMES_RESTRICT] = max_ref_frames_hevc >= 0;
|
||||
encoder.hevc[encoder_t::PASSED] = max_ref_frames_hevc >= 0 || autoselect_hevc >= 0;
|
||||
}
|
||||
else {
|
||||
// Clear all cap bits for HEVC if we didn't probe it
|
||||
encoder.hevc.capabilities.reset();
|
||||
}
|
||||
|
||||
std::vector<std::pair<encoder_t::flag_e, config_t>> configs {
|
||||
{ encoder_t::DYNAMIC_RANGE, { 1920, 1080, 60, 1000, 1, 0, 3, 1, 1 } },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue