]> git.sesse.net Git - ffmpeg/commit
lavfi/sink_buffer: accept unknown channel layouts.
authorNicolas George <nicolas.george@normalesup.org>
Wed, 26 Dec 2012 15:49:16 +0000 (16:49 +0100)
committerNicolas George <nicolas.george@normalesup.org>
Sat, 26 Jan 2013 10:15:38 +0000 (11:15 +0100)
commit19506af788b64c509dad76f37e0a0da63ef34e44
tree6ce4056232fc4a1f8d8cd5910f4752c6f2394314
parentb6b2f3433c217b01c75729df0e316d525cd8d804
lavfi/sink_buffer: accept unknown channel layouts.

Add a field to the AVBufferSinkParams for a list of accepted
channel counts.
Change the default value for the lists in AVBufferSinkParams
to NULL, to let lavfi fill them with something useful.
The fail_enomem path is unneeded because filters are uninited
on failure.
libavfilter/buffersink.h
libavfilter/sink_buffer.c