[Libav-user] Frames corruption when seeking...
jyavenard at gmail.com
Fri May 30 14:47:56 CEST 2014
On 30 May 2014 22:25, wm4 <nfxjfg at googlemail.com> wrote:
> In my opinion, the code above is correct. Maybe you could also try to
> set the AVCodecContext.refcounted_frames field to 1 before opening the
> decoder, and calling av_frame_unref(frame) before calling
> avcodec_decode_* (the later was needed with refcounting enabled at
> least at some point).
sorry, I didn't explain myself properly... av_frame_unref(frame)
doesn't free the data pointed to by extended_data[n]
I'm not saying the memory isn't freed, just not by av_frame_unref ...
And I was curious on who/what free it.
But from you explained earlier, it all make sense now
> Can you try with mplayer and "-demuxer lavf"?
Oh.... it doesn't play !
thank you for pointing out the problem.
I've been chasing that particular problem for days !
I was convinced it was in our VDPAU code!
More information about the Libav-user