This avoids a few ms delay for the first frame after a seek in theory. Originally committed as revision 21592 to svn://svn.ffmpeg.org/ffmpeg/trunk