mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'fix-movie-cfg' into 'master'
Fix movie recorder config Closes #798 See merge request KartKrew/Kart!1691
This commit is contained in:
commit
347538c630
1 changed files with 3 additions and 3 deletions
|
|
@ -91,12 +91,12 @@ static AVRecorder::Config configure()
|
|||
|
||||
if (sound_started && cv_movie_sound.value)
|
||||
{
|
||||
cfg.audio = { 44100 };
|
||||
cfg.audio = AVRecorder::Config::Audio { 44100 };
|
||||
}
|
||||
|
||||
cfg.video = { cv_movie_fps.value };
|
||||
|
||||
cfg.video = AVRecorder::Config::Video { };
|
||||
AVRecorder::Config::Video& v = *cfg.video;
|
||||
v.frame_rate = cv_movie_fps.value;
|
||||
|
||||
auto basex = [&v](int scale)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue