VLC makes use of ffmpeg's libpostproc library, part of ffmpeg. When building ffmpeg this library is statically linked to libavcodec. This is not a problem for VLC, but the fact that ffmpeg doesn't install the libpostproc header is a problem. Reproducible: Always Steps to Reproduce: I have build a patch and modified an ebuild to compile libpostproc dynamically, link libavcodec with -lpostproc and install both ffmpeg and libpostproc. This will help VLC in not being required to depend on mplayer (which does install this header) Please take a look at the attached files. raker has more information on this issue if clarification is needed beyond this.
Created attachment 16420 [details, diff] correctly link libavcodec with libpostproc
Created attachment 16421 [details, diff] modified ebuild to build a dynamic version of libpostproc and install it.
Actually mplayer installs both the static an dynamic versions of this lib with 0.91 ...
it's irrelevant if mplayer installs the library or not. ffmpeg should install it. Actually mplayer SHOULDN't install it. I think it's a accidental sideeffect of them importing the ffmpeg sources into their source tree and Gentoo acts incorrectly in this area. mplayer imports all these sources too be independent of their installed versions. But that should also mean that all that code is linked statically (in my eyes). I know this is not conform gentoo ways, but it is the advised way to use mplayer and I think Gentoo should adhere to it.
Are you certain that ffmpeg is the original source of libpostproc? Most of what I've found searching online points to mplayer. And rpms that I've found refer to mplayer as the source. I'm working on an ebuild for libpostproc and just want to get some certainty that ffmpeg really is the canonical source for libpostproc.
mplayer and ffmpeg developement always is kindof a mixed situation. It originates from mplayer, it's final destination will be ffmpeg.
OK. These changes are in the tree. ffmpeg-0.4.8.20040222 and will install the libpostproc libraries. mplayer-1.0_pre3-r1 and greater will not install libpostproc anymore. I'm closing this as resolved.