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

Expose bits_per_coded_sample on VideoCodecContext #1203

Merged
merged 3 commits into from
Mar 12, 2024

Conversation

rvanlaar
Copy link
Contributor

qtrle decoder needs bits_per_coded_sample to be set when decoding a packet.

qtrle decoder needs `bits_per_coded_sample` to be set when
decoding a packet.
@jlaine
Copy link
Member

jlaine commented Oct 30, 2023

Can we have a unit test which exercises the getter and setter please?

av/video/codeccontext.pyx Outdated Show resolved Hide resolved
av/video/codeccontext.pyx Outdated Show resolved Hide resolved
@WyattBlue WyattBlue linked an issue Nov 13, 2023 that may be closed by this pull request
@WyattBlue
Copy link
Member

In addition to jlaine's comments, this needs to be redone with the new style property attribute and it needs the type hint.

@WyattBlue WyattBlue closed this Mar 2, 2024
@WyattBlue WyattBlue reopened this Mar 9, 2024
@WyattBlue WyattBlue force-pushed the bits_per_coded_sample branch from eec3ba2 to 726f136 Compare March 12, 2024 07:23
@WyattBlue WyattBlue merged commit 7a5c2d1 into PyAV-Org:main Mar 12, 2024
16 of 18 checks passed
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.

Allow bits_per_coded_sample to codec context.
3 participants