Ticket #353 (new defect)

Opened 6 months ago

Respect the returned AVFrame from avcodec_decode_video

Reported by: astrange Assigned to:
Priority: normal Milestone: 1.2
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?.