[FFmpeg-devel] [PATCH] avcodec: add properties for lossless to AVCodecParameters

Hendrik Leppkes h.leppkes at gmail.com
Sun May 8 17:18:40 CEST 2016


On Sun, May 8, 2016 at 12:10 PM, Michael Niedermayer
<michael at niedermayer.cc> wrote:
> Fixes Ticket5467
>
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavcodec/avcodec.h |    4 ++++
>  libavcodec/utils.c   |    2 ++
>  2 files changed, 6 insertions(+)
>
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index 3813a0a..1db2e0f 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -4050,6 +4050,10 @@ typedef struct AVCodecParameters {
>       * Audio only. Number of samples to skip after a discontinuity.
>       */
>      int seek_preroll;
> +
> +    /** Properties, like FF_CODEC_PROPERTY_LOSSLESS.
> +     */
> +    int properties;
>  } AVCodecParameters;
>

There properties are not part of any container we support and therefor
not really fitting into this structure.

- Hendrik


More information about the ffmpeg-devel mailing list