Try to set has_b_frames in codec init if we know everything alraedy.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 23 Feb 2010 01:08:54 +0000 (01:08 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 23 Feb 2010 01:08:54 +0000 (01:08 +0000)
commitdb8cb47d15c3ffd13d7230c6391487ffb2a9b3a5
tree17ecd1dd8088ed2a87bff0475039a07d2cd16d9e
parent9855b2e3c87157b27c777e7ce2325220d98f213e
Try to set has_b_frames in codec init if we know everything alraedy.
This fixes some issues with the first few timestamps.

Originally committed as revision 21976 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c