Re: [FFmpeg-devel] [PATCH 2/4] avformat/avframe.h: Add a flag in AVIndexEntry to discard frame after decoding.

2016-08-10 Thread Sasi Inguva
Mov demuxer first builds the index, containing all the samples and their timestamps, in its read_header function. It then simply searches this index for the required sample on every read_packet call, and constructs an AVPacket out of that sample. Implementation wise the edit list code basically

[FFmpeg-devel] [PATCH 2/4] avformat/avframe.h: Add a flag in AVIndexEntry to discard frame after decoding.

2016-08-10 Thread Sasi Inguva
Signed-off-by: Sasi Inguva --- libavformat/avformat.h | 3 +++ libavformat/version.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index d8a6cf3..8cf1401 100644 --- a/libavformat/avformat.h +++

Re: [FFmpeg-devel] [PATCH 2/4] avformat/avframe.h: Add a flag in AVIndexEntry to discard frame after decoding.

2016-08-10 Thread Hendrik Leppkes
On Wed, Aug 10, 2016 at 3:48 AM, Sasi Inguva wrote: > Signed-off-by: Sasi Inguva > --- > libavformat/avformat.h | 3 +++ > libavformat/version.h | 2 +- > 2 files changed, 4 insertions(+), 1 deletion(-) > > diff --git a/libavformat/avformat.h