[FFmpeg-devel] [PATCH 1/2] fftools/ffmpeg_filter: remove unused struct from InputFilterPriv

James Almer jamrial at gmail.com
Mon Mar 25 22:21:45 EET 2024


On 3/24/2024 10:36 AM, James Almer wrote:
> It's already in InputFilterOptions.
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>   fftools/ffmpeg_filter.c | 16 ----------------
>   1 file changed, 16 deletions(-)
> 
> diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
> index 3d88482d07..171e47be9e 100644
> --- a/fftools/ffmpeg_filter.c
> +++ b/fftools/ffmpeg_filter.c
> @@ -145,22 +145,6 @@ typedef struct InputFilterPriv {
>       int                 displaymatrix_present;
>       int32_t             displaymatrix[9];
>   
> -    // fallback parameters to use when no input is ever sent
> -    struct {
> -        AVRational          time_base;
> -
> -        int                 format;
> -
> -        int                 width;
> -        int                 height;
> -        AVRational          sample_aspect_ratio;
> -        enum AVColorSpace   color_space;
> -        enum AVColorRange   color_range;
> -
> -        int                 sample_rate;
> -        AVChannelLayout     ch_layout;
> -    } fallback;
> -
>       struct {
>           AVFrame *frame;

Will apply the set soon.


More information about the ffmpeg-devel mailing list