FFMS / ffms2

An FFmpeg based source library and Avisynth/VapourSynth plugin for easy frame accurate access
Other
582 stars 105 forks source link

ffms2.pc has bad entry for libavresample #224

Closed justinruggles closed 9 years ago

justinruggles commented 9 years ago
# ffms2.pc.  Generated from ffms2.pc.in by configure.

prefix=/home/vimeo/stack
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: ffms2
Description: The Fabulous FM Library 2
Requires.private: libavformat libavcodec libswscale libavutil @libavresample@
Version: 2.22.0
Libs.private:  -lz
Libs: -L${libdir} -lffms2
Cflags: -I${includedir}
$ pkg-config --cflags ffms2          
Package @libavresample@ was not found in the pkg-config search path.
Perhaps you should add the directory containing `@libavresample@.pc'
to the PKG_CONFIG_PATH environment variable
Package '@libavresample@', required by 'ffms2', not found
kodawah commented 9 years ago

possibly related to the bug, is there any real advantage in using one library over the other? to me it'd make more sense to try for both and select either, not requiring one based on the distribution.

tgoyne commented 9 years ago

Whoops. I removed that since I couldn't find where it was actually used...

Currently avresample is used if it's present and swresample otherwise, under the assumption that anyone explicitly enabling avresample when building ffmpeg is doing so for a reason.