]> git.sesse.net Git - vlc/commit
x264.c: handle dts/pts from libx264 on X264_BUILD >= 83 onward
authorIlkka Ollakka <ileoo@iki.fi>
Fri, 15 Jan 2010 14:45:37 +0000 (16:45 +0200)
committerIlkka Ollakka <ileoo@iki.fi>
Sat, 16 Jan 2010 13:35:36 +0000 (15:35 +0200)
commite3e7caad7c386d8e54db9a61529b769131cf5ba8
treeb0997599eeeecf2c7516036f6cda9808c793f3a9
parent430be231b62977db7a191808fdff7e0a4d5a23d6
x264.c: handle dts/pts from libx264 on X264_BUILD >= 83 onward

libx264 gives dts-value, but we need to calculate initial delay, so dts doesn't
go < VLC_TS_0.

Tell how many frames are still left on libx264 buffer when we close encoder

Only set BLOCK_FLAG_TYPE_I on IDR-frames on X264_BUILD < 83 and only those
which have b_keyframe on X264_BUILD >= 83.
modules/codec/x264.c