PyAV icon indicating copy to clipboard operation
PyAV copied to clipboard

expose discard, trusted and disposable packet flags

Open skirklin opened this issue 1 year ago • 1 comments

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.

skirklin avatar Jun 27 '23 16:06 skirklin

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

lletourn avatar Oct 26 '23 14:10 lletourn

Continued in #1327

WyattBlue avatar Mar 08 '24 06:03 WyattBlue