Skip to content

close method doesn't exist on CodecContext #2085

@ddurham2

Description

@ddurham2

https://pyav.org/docs/stable/api/codec.html#av.codec.context.CodecContext.close indicates I need to call close (and in older versions it's fine), but the method no longer seems to exist.

I couldn't find an example of direct CodecContext use. What is the expected proper way to open and close a codec? Using with (context manager)? Or is there no need to close the codec after calling open()?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions