[FFmpeg-devel] [PATCH 2/2] lavd: add lavfi dependencies for test programs.

Michael Niedermayer michaelni at gmx.at
Wed Feb 5 18:13:05 CET 2014


On Wed, Feb 05, 2014 at 05:45:49PM +0100, Nicolas George wrote:
> Le septidi 17 pluviôse, an CCXXII, Michael Niedermayer a écrit :
> > This adds all the dependancies of the currently build libavfilter
> > to libavdevice.so
> > 
> > this feels wrong
> > libavdevice.so does not depend on these
> 
> I do not understand what you are saying. libavdevice does depend on
> libavfilter (through the lavfi device). The only reason it works for now is
> because the only test program here only tests a very small and isolated part
> of libavdevice.

libavdevice does depend on libavfilter but it does not depend on
lets say libpostproc

if for example you upgrade libavfilter.so and the new version no
longer depends on libpostproc.so you still would have libavdevice.so
depening on it if iam not mistaken
that is after the patch but not before


> 
> The other problem is that static libraries are braindead. Unless you suggest
> to drop support for static libraries (I would not mind, but I suppose a lot
> of people would rightfully object), we are forced to deal with their
> braindeadness, including the necessity of specifying all dependencies.

iam not sure anything is braindead, its just the result of a the
axioms/choices taken

Not putting AVFrame in AVBuffer/AVPacket within the existing
high level framework
-> this results in the usecase in transcoding tools being very messy
-> so a seperate test program is used
and this testprogram is placed in libavdevice directory
and noone did something like that before it seems which uncovers
that the build systems has problems with complex recursive dependancies

not sure how to best fix this ...
[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140205/7abc7f08/attachment.asc>


More information about the ffmpeg-devel mailing list