[FFmpeg-devel] [PATCH 3/3] ffmpeg: support audio in complex filters
    Nicolas George 
    nicolas.george at normalesup.org
       
    Mon May  7 14:44:35 CEST 2012
    
    
  
Le nonidi 19 floréal, an CCXX, Matthieu Bouron a écrit :
> Patch updated with first solution.
Patch forgotten.
I did not understand your suggestion. The obvious quick solution would be,
in avfilter_graph_add_filter, if the filter has no inputs
(filter->input_count == 0), insert it at the beginning instead of the end.
This is somewhat inefficient, but that probably does not matter much (and
the implementation with a realloc of n+1 each time is very inefficient too).
Also, note that this is a separate issue than changing ffmpeg to support
audio filters.
Regards,
-- 
  Nicolas George
    
    
More information about the ffmpeg-devel
mailing list