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

Michael Niedermayer michaelni
Sun Oct 10 21:38:23 CEST 2010


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I hate to see young programmers poisoned by the kind of thinking
Ulrich Drepper puts forward since it is simply too narrow -- Roman Shaposhnik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101010/2739aa39/attachment.pgp>



More information about the ffmpeg-devel mailing list