[FFmpeg-devel] [PATCH] lavfi: make ff_framequeue_skip_samples() more useful.

Muhammad Faiz mfcc64 at gmail.com
Sun Jan 29 15:58:41 EET 2017


On 1/29/17, Nicolas George <george at nsup.org> wrote:
> Instead of just updating statistics, have it actually do the work
> instead of leaving that job to the call site.
>
> Also: skip the samples by updating the frame data pointers
> instead of moving the samples. More efficient and avoid writing
> into shared frames.
> Found-By: Muhammad Faiz <mfcc64 at gmail.com>
>
> Signed-off-by: Nicolas George <george at nsup.org>
> ---
>  libavfilter/avfilter.c   |  8 +-------
>  libavfilter/framequeue.c | 27 +++++++++++++++++++++++++++
>  libavfilter/framequeue.h | 11 +++++------
>  3 files changed, 33 insertions(+), 13 deletions(-)
>

LGTM

Thank's


More information about the ffmpeg-devel mailing list