[FFmpeg-devel] [PATCH] aconvert filter needs to configure samplerates

Andrew Wason rectalogic at rectalogic.com
Tue Jun 5 17:02:43 CEST 2012


On Mon, Jun 4, 2012 at 5:56 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Mon, Jun 04, 2012 at 02:00:45PM -0400, Andrew Wason wrote:
>> aconvert filter causes a crash when merging formats because it doesn't
>> configure samplerates.
>> [...]
>
> instead of adding this to every filter i would suggest that a wraper
> is added to call ->query_formats() and that fills all fields with
> defaults that the filters query_formats() left blank


I changed the *_set_common_* functions to only set unset formats, then
added a wrapper that calls them after the filters query_formats.

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: query_formats_defaults.diff
Type: application/octet-stream
Size: 4088 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120605/37284a5f/attachment.obj>


More information about the ffmpeg-devel mailing list