mpegvideo: Use the current_picture pts
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 18 Apr 2014 21:11:31 +0000 (23:11 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 21 Apr 2014 19:58:58 +0000 (21:58 +0200)
commit1c7b71a5bdb88ebb69734100405bbb5441b871e8
tree2e80fdd2065af3cb608df608abea72e6b977d0a7
parent6f243b17c537646b894857d43dfdac65f85ab377
mpegvideo: Use the current_picture pts

The picture slot can be recycled by select_input_picture and
only current_picture is populated with the valid pts.

Unbreak timestamps when in cbr mode.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/mpegvideo_enc.c