[FFmpeg-devel] [PATCH 12/21] fftools/ffmpeg_filter: keep track of filtergraph input timebase

Nicolas George george at nsup.org
Fri Apr 28 11:48:19 EEST 2023


Anton Khirnov (12023-04-27):
> Will be useful in following commits.
> ---
>  fftools/ffmpeg_filter.c | 16 ++++++++++++----
>  1 file changed, 12 insertions(+), 4 deletions(-)
> 
> diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
> index 6b92bc074e..3c6c580093 100644
> --- a/fftools/ffmpeg_filter.c
> +++ b/fftools/ffmpeg_filter.c
> @@ -55,6 +55,8 @@ static FilterGraphPriv *fgp_from_fg(FilterGraph *fg)
>  typedef struct InputFilterPriv {
>      InputFilter ifilter;
>  
> +    AVRational time_base;
> +
>      AVFifo *frame_queue;
>  } InputFilterPriv;

Just put it in InputFilter.

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230428/18915ee6/attachment.sig>


More information about the ffmpeg-devel mailing list