diff --git a/mpegflow.cpp b/mpegflow.cpp index 323b55b..06e2abe 100644 --- a/mpegflow.cpp +++ b/mpegflow.cpp @@ -305,20 +305,7 @@ void output_vectors_std(int frameIndex, int64_t pts, char pictType, vector shape = make_pair(min(ffmpeg_frameHeight / gridStep, FrameInfo::MAX_GRID_SIZE), min(ffmpeg_frameWidth / gridStep, FrameInfo::MAX_GRID_SIZE)); - if(!prev.empty() && pts != prev.back().Pts + 1) - { - for(int64_t dummy_pts = prev.back().Pts + 1; dummy_pts < pts; dummy_pts++) - { - FrameInfo dummy; - dummy.FrameIndex = -1; - dummy.Pts = dummy_pts; - dummy.Origin = "dummy"; - dummy.PictType = '?'; - dummy.GridStep = gridStep; - dummy.Shape = shape; - prev.push_back(dummy); - } - } + // Dummy appendage has been removed -- FrameInfo cur; cur.FrameIndex = frameIndex;