mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-19 14:32:34 +00:00
Fix movie recorder config
This commit is contained in:
parent
714ea91c37
commit
c24b6e9f0e
1 changed files with 3 additions and 3 deletions
|
|
@ -91,12 +91,12 @@ static AVRecorder::Config configure()
|
||||||
|
|
||||||
if (sound_started && cv_movie_sound.value)
|
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;
|
AVRecorder::Config::Video& v = *cfg.video;
|
||||||
|
v.frame_rate = cv_movie_fps.value;
|
||||||
|
|
||||||
auto basex = [&v](int scale)
|
auto basex = [&v](int scale)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue