diff mbox series

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

Message ID 20240324133641.3309-1-jamrial@gmail.com
State Accepted
Commit 767e7d3d2b44b14158220917253580baf98750df
Headers show
Series [FFmpeg-devel,1/2] fftools/ffmpeg_filter: remove unused struct from InputFilterPriv | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

James Almer March 24, 2024, 1:36 p.m. UTC
It's already in InputFilterOptions.

Signed-off-by: James Almer <jamrial@gmail.com>
---
 fftools/ffmpeg_filter.c | 16 ----------------
 1 file changed, 16 deletions(-)

Comments

James Almer March 25, 2024, 8:21 p.m. UTC | #1
On 3/24/2024 10:36 AM, James Almer wrote:
> It's already in InputFilterOptions.
> 
> Signed-off-by: James Almer <jamrial@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.
diff mbox series

Patch

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;