[Libav-user] avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished, &packet) why most of the time frameFinished is zero ?
get2jils at gmail.com
Mon May 26 10:36:07 CEST 2014
I received a packet from rtsp by av_read_frame and decode it through
avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished, &packet)
After decoding i am checking the value of frameFinished.
Most of the time i get the value of frameFinished is zero. May be around
50% of the packet.
Can u hint me what could be the reason ?
It is any way related to 'I', 'P', 'B' packet types ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user