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 discard, trusted and disposable packet flags #1138

Closed
wants to merge 2 commits into from

Conversation

skirklin
Copy link

I have a use case where the video I am parsing has "dummy" packets inserted, marked with AV_PKT_FLAG_DISPOSABLE and intended to be skipped over when decoding and found that I needed to extend the Packet class to be able to detect it. I do not know if there are any compatibility concerns, i.e. if these flags are a part of all supported versions of avcodec.h but wanted to at least offer the patch in case it might be helpful for someone else out there.

@lletourn
Copy link

not too sure what's the process of voting in PyAV, but I too would like this functionality merged in.

@WyattBlue WyattBlue added the tests requested Please add tests to your PR label Nov 12, 2023
@WyattBlue
Copy link
Member

Continued in #1327

@WyattBlue WyattBlue closed this Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests requested Please add tests to your PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants