Skip to content

Remove extra quotes and spaces from custom args#648

Draft
redzic wants to merge 1 commit into
rust-av:masterfrom
redzic:allow-user-error
Draft

Remove extra quotes and spaces from custom args#648
redzic wants to merge 1 commit into
rust-av:masterfrom
redzic:allow-user-error

Conversation

@redzic

@redzic redzic commented Jul 7, 2022

Copy link
Copy Markdown
Collaborator

Currently, some unexpected behavior can happen if the user is not careful to properly pass the arguments to av1an. This allows everything to work properly even if extra quotes are added to --video-params (and other similar options).

@redzic redzic force-pushed the allow-user-error branch from f3051f4 to 0e94a55 Compare July 7, 2022 20:46
@redzic

redzic commented Jul 7, 2022

Copy link
Copy Markdown
Collaborator Author

Actually there is an extreme edge case where the user might pass --vmaf-model-path="<path wrapped in quotes>" or something like that as the last argument and this would actually cause that to break. Preceding quotes and spaces should always be removed though.

@redzic redzic marked this pull request as draft July 7, 2022 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant