• Reimar Döffinger's avatar
    Fallback to input timestamps for non-delay encoders. · 05741d70
    Reimar Döffinger authored
    Causes FFmpeg to pass through the correct pts values,
    instead of clobbering all to AV_NOPTS_VALUE (the av_init_packet
    default) to then make up new ones based on only fps when muxing.
    Included are also the related FATE ref changes, which all
    some reasonable on quick investigation.
    Also set all H.264 references to us -vsync drop to reduce the
    diff for the ref files.
    Otherwise almost all H.264 references need to change, mostly due
    to now starting with negative pts values.
    About 20 additional H.264 conformance tests needed -vsync
    drop anyway because they create pts values that are out of
    order and thus not possible to mux otherwise.
    Signed-off-by: 's avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
    05741d70
ffmpeg.c 190 KB