[FFmpeg-devel] [PATCH] Add a time_base field to AVFilterPad.

Stefano Sabatini stefano.sabatini-lala
Mon Oct 11 00:29:54 CEST 2010


On date Sunday 2010-10-10 21:38:23 +0200, Michael Niedermayer encoded:
> On Sun, Oct 10, 2010 at 05:29:54PM +0200, Stefano Sabatini wrote:
> > On date Sunday 2010-10-10 14:45:14 +0200, Michael Niedermayer encoded:
> > > On Sun, Oct 10, 2010 at 12:05:56PM +0200, Stefano Sabatini wrote:
> > [...]
> > > > Yes but in a filterchain filter N+1 may change its input timebase.
> > > > 
> > > > For example we could implement the settb filter to make it set the
> > > > timebase of its input link rather then the timebase of the output.
> > > 
> > > no, the input cannot be set, like you cannot set the input pts or the input
> > > being interlaced. the input tb is a property of the input
> > 
> > Patch updated with the requested simplification and a clarification in
> > the docs.
> > 
> > Regards.
> > -- 
> > FFmpeg = Foolish and Fanciful Magnificient Purposeless Erroneous Gargoyle
> 
> >  avfilter.c |    4 ++++
> >  avfilter.h |   16 +++++++++++++++-
> >  defaults.c |    1 +
> >  3 files changed, 20 insertions(+), 1 deletion(-)
> > 323a79cebe9c75a4a0f2b2d0011c58ae2b6000dc  0001-Add-a-time_base-field-to-AVFilterLink.patch
> > From 8f6801ee7bbdbd39b19536fb687adbe116ba78c8 Mon Sep 17 00:00:00 2001
> > From: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> > Date: Mon, 27 Sep 2010 20:24:44 +0200
> > Subject: [PATCH 01/11] Add a time_base field to AVFilterLink.
> > 
> > This is required for allowing a filter to use a time base different
> > from AV_TIME_BASE_Q, as it was previously assumed.
> 
> ok

Applied.
-- 
FFmpeg = Frightening & Faithful Magnificient Puritan Elegant Gadget



More information about the ffmpeg-devel mailing list