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 |
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 |
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 --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;
It's already in InputFilterOptions. Signed-off-by: James Almer <jamrial@gmail.com> --- fftools/ffmpeg_filter.c | 16 ---------------- 1 file changed, 16 deletions(-)