Page 1 of 1

avcodec_decode_video Timeout

Posted: Wed Jan 18, 2012 7:50 am
by jameswatt20
I use avcodec_decode_video to decode a packet that I read from IP camera with av_read_frame. Sometimes it doesn't set flag that indicate frame as been completed long time. My question is if avcodec_decode_video has time out or I must implement it? My second Question is avcodec_decode_video automatically overwrite new complete frame with a noncomplete old or not?
Thanks! :-)