[FFmpeg-devel] [PATCH] add some missing test dependencies

Justin Ruggles justin.ruggles
Sat Dec 11 21:19:39 CET 2010


Hi,

I noticed that running the acodec test fails if you don't enable certain
muxers and demuxers.  configure checks some of them, but not all.

I'm a shell scripting amateur so some of this could possibly be solved
in a simpler way...

This patch does several things:

test_deps() is modified to append to *_test_deps if it already exists.
This is useful to include the same test in multiple dependency lists.

test_deps() is modified to allow the 2nd parameter to be optional so
that only a muxer or demuxer dependency can be easily be added to a list
of tests.

Several missing dependencies are added for the acodec tests.

find_tests() is modified so that it can also be used to easily add a
wav_muxer dependency to all acodec tests without listing them all out
manually.

The statement that adds all pcm decoders/encoders to pcm_test_deps is
modified to append to the existing list.


If it would make it easier for review to split these changes into
multiple patches I can do that.

Thanks,
Justin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_deps.patch
Type: text/x-patch
Size: 4464 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101211/7dd05bbb/attachment.bin>



More information about the ffmpeg-devel mailing list