On 12/10/2012 06:37 PM, Diego Biurrun wrote:
> From: Alex Converse <alex.conve...@gmail.com>
> 
> Signed-off-by: Diego Biurrun <di...@biurrun.de>
> ---
> 
> - Added missing version bump.
> - Corrected garbled filter description.
> - style fixes
> 
>  Changelog                |    1 +
>  doc/filters.texi         |   34 ++++++++
>  libavfilter/Makefile     |    1 +
>  libavfilter/af_alength.c |  207 
> ++++++++++++++++++++++++++++++++++++++++++++++
>  libavfilter/allfilters.c |    1 +
>  libavfilter/version.h    |    2 +-
>  6 files changed, 245 insertions(+), 1 deletions(-)
>  create mode 100644 libavfilter/af_alength.c
[...]
> +static int alength_config_input(AVFilterLink *link)
> +{
> +    ALengthContext *s = link->dst->priv;
> +    s->time_base      = link->time_base;

Is there a specific need to preserve the input link's time base? The
filter is using sample-accurate timing for everything internally, so why
not set the output time base to 1 / sample_rate?

-Justin
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to