diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-11-05 01:48:00 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-11-05 01:48:00 +0100 |
commit | 8b67f01cf82cc7c51fc2d5b5ec427a610a536f4a (patch) | |
tree | 945b52b0dca1e845455449aeeaed252f4a64a01c /src/gui/SettingsPage.cpp | |
parent | 6cfabf83b250dddc6c4b7fadf42587778f243caf (diff) |
m
Diffstat (limited to 'src/gui/SettingsPage.cpp')
-rw-r--r-- | src/gui/SettingsPage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/SettingsPage.cpp b/src/gui/SettingsPage.cpp index d8f40f9..7fa609f 100644 --- a/src/gui/SettingsPage.cpp +++ b/src/gui/SettingsPage.cpp @@ -556,7 +556,7 @@ namespace gsr { void SettingsPage::update_estimated_file_size() { const int64_t replay_time_seconds = atoi(replay_time_entry_ptr->get_text().c_str()); - const int64_t video_bitrate_bps = atoi(video_bitrate_entry_ptr->get_text().c_str()) * 1024LL; + const int64_t video_bitrate_bps = atoi(video_bitrate_entry_ptr->get_text().c_str()) * 1000LL; const double video_filesize_mb = ((double)replay_time_seconds * (double)video_bitrate_bps) / 1024.0 / 1024.0; char buffer[512]; |