Ticket #353 (new defect)

Opened 2 years ago

Last modified 15 months ago

Respect the returned AVFrame from avcodec_decode_video

Reported by: astrange Owned by:
Priority: normal Milestone: 1.3
Component: ffmpeg Version: 1.1
Severity: normal Keywords:
Cc:

Description

Currently, we only respect tempFrame in DecodeBand? for VP3, and for some reason enabling it for other codecs doesn't work right. This will be necessary in the future, when we enable more decoders and I merge frame-multithreading, so we should try to always use them. To avoid buffer copies, we should still override (re)get_/release_buffer and implement retain counting so that frames are still around until DrawBand?.

Change History

Changed 15 months ago by astrange

I still don't understand how this stuff all works, but several other codecs (ffmpeg-mt anything, FFV1) just crash when they're used. Will investigate some tricks with reordered_opaque.

Note: See TracTickets for help on using tickets.