Skip to content

Add quality getter and setter to Encoder#36

Open
RunDevelopment wants to merge 1 commit into
vstroebel:mainfrom
RunDevelopment:quality-setter
Open

Add quality getter and setter to Encoder#36
RunDevelopment wants to merge 1 commit into
vstroebel:mainfrom
RunDevelopment:quality-setter

Conversation

@RunDevelopment

Copy link
Copy Markdown

It can sometimes be necessary to set the quality after creating the encoder. This wasn't possible, so I added a getter and a setter for the quality setting.

There are no values in Encoder that depend on self.quality and would become invalid when it changes. self.sampling_factor does depend on the initial quality parameter, but it can also be overwritten should set_quality be used.

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