[FFmpeg-devel] [PATCH] Pass pts values through non-delay encoders by default.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Jan 23 19:22:42 CET 2012

On Mon, Jan 23, 2012 at 03:40:09PM +0100, Michael Niedermayer wrote:
> On Mon, Jan 23, 2012 at 08:54:32AM +0100, Reimar Döffinger wrote:
> > (hacking only pts doesn't work I think, some codes rather randomly do or do not set coded_frame I had the impression. Rawvideo seems to set it, but with wrong pts, flashsv seems to not set it at all).
> pts should be AV_NOPTS_VALUE when unknown never random ...

If that was the case the code I pointed out generating the time
stamps now wouldn't be checking for it to be 0.
Also I said "wrong pts", it is constant 0, not random AFAICT.

More information about the ffmpeg-devel mailing list