From c719feb3cc4a5627827f8576a9b34756f701d59d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 13 Jul 2013 11:01:10 +0100 Subject: [PATCH] Various fixes to PTS mangling. --- src/lib/ffmpeg_content.cc | 2 +- src/lib/ffmpeg_content.h | 12 +++++- src/lib/ffmpeg_decoder.cc | 78 +++++++++++++++++++++++++------------- src/lib/ffmpeg_decoder.h | 3 +- src/lib/filter_graph.cc | 8 ++-- src/lib/filter_graph.h | 2 +- src/lib/subtitle_content.h | 4 +- src/lib/video_content.h | 2 + test/ffmpeg_pts_offset.cc | 58 ++++++++++++++++++++++------ 9 files changed, 122 insertions(+), 47 deletions(-) diff --git a/src/lib/ffmpeg_content.cc b/src/lib/ffmpeg_content.cc index 88fc6dbd2..f4e1b9e72 100644 --- a/src/lib/ffmpeg_content.cc +++ b/src/lib/ffmpeg_content.cc @@ -79,7 +79,7 @@ FFmpegContent::FFmpegContent (shared_ptr f, shared_ptrcontent ())); } - _first_video = node->optional_number_child