Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video Remixer: Fix missing output quality and volume on project load #350

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions video_remixer_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,19 @@ def load(filepath : str, remixer_settings : dict, global_options : dict, log_fn
except AttributeError:
state.sound_format = "wav"

# new output quality and output volume options
try:
if not state.output_quality:
state.output_quality = 23
except AttributeError:
state.output_quality = 23

try:
if not state.output_volume:
state.output_volume = 0
except AttributeError:
state.output_volume = 0

return state

except YAMLError as error:
Expand Down
Loading