[FFmpeg-devel] [PATCH 1/4] lavc/internal: add FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM

Michael Niedermayer michael at niedermayer.cc
Tue Nov 3 21:02:28 CET 2015


On Mon, Nov 02, 2015 at 11:45:05AM +0100, Matthieu Bouron wrote:
> From: Matthieu Bouron <matthieu.bouron at stupeflix.com>
> 
> Codec supporting FF_CODEC_SKIP_FRAME_FILL must still extract and fill
> their parameters into AVCodecContext while honoring the skip_frame
> flag.
> ---
>  libavcodec/internal.h | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/libavcodec/internal.h b/libavcodec/internal.h
> index 0abe17f..a023d1a 100644
> --- a/libavcodec/internal.h
> +++ b/libavcodec/internal.h
> @@ -53,6 +53,11 @@
>   * from the input AVPacket.
>   */
>  #define FF_CODEC_CAP_SETS_PKT_DTS           (1 << 2)
> +/**
> + * Codec still extract and fill its parameters even if the skip_frame
> + * parameter is honored.

iam not sure about the english grammer here sounds a bit odd but
otherwise the patch LGTM

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151103/ce689cf4/attachment.sig>


More information about the ffmpeg-devel mailing list