Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: use reordered duration for stream PTS.

2017-04-03 Thread wm4
On Mon, 3 Apr 2017 14:52:15 +0200 Nicolas George wrote: > Signed-off-by: Nicolas George > --- > ffmpeg.c | 8 +--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > > Not sure if this is correct, the timestamp handling is awfully complicated. > But FATE succeeds and the result is a c

[FFmpeg-devel] [PATCH 2/2] ffmpeg: use reordered duration for stream PTS.

2017-04-03 Thread Nicolas George
Signed-off-by: Nicolas George --- ffmpeg.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) Not sure if this is correct, the timestamp handling is awfully complicated. But FATE succeeds and the result is a correct value of next_pts after the last frame with a VFR file. diff --git