[gstreamer-bugs] [Bug 584399] New: FFmpeg libraries are included in incorrect order when external FFmpeg is used
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Sun May 31 14:45:08 PDT 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=584399
GStreamer | gst-ffmpeg | Ver: git
Summary: FFmpeg libraries are included in incorrect order when
external FFmpeg is used
Product: GStreamer
Version: git
Platform: Other
OS/Version: Windows
Status: UNCONFIRMED
Severity: trivial
Priority: Normal
Component: gst-ffmpeg
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: lrn1986 at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
When external FFmpeg is used, configure.ac does:
PKG_CHECK_MODULES(FFMPEG, libavutil libavcodec libavformat)
PKG_CHECK_MODULES(POSTPROC, libavutil libavcodec libpostproc)
PKG_CHECK_MODULES(SWSCALE, libavutil libswscale)
which implicitly adds proper libraries to the list of linker's arguments.
But when internal FFmpeg is used, all library dependences are specified
explicitly:
FFMPEG_LIBS="\$(top_builddir)/gst-libs/ext/ffmpeg/libavformat/libavformat.a \
\$(top_builddir)/gst-libs/ext/ffmpeg/libavcodec/libavcodec.a \
\$(top_builddir)/gst-libs/ext/ffmpeg/libavutil/libavutil.a"
POSTPROC_LIBS="\$(top_builddir)/gst-libs/ext/ffmpeg/libpostproc/libpostproc.a
\
\$(top_builddir)/gst-libs/ext/ffmpeg/libavutil/libavutil.a"
SWSCALE_LIBS="\$(top_builddir)/gst-libs/ext/ffmpeg/libswscale/libswscale.a \
\$(top_builddir)/gst-libs/ext/ffmpeg/libavutil/libavutil.a"
The order (format->codec->util in the latter and util->codec->format in the
former) is different and the difference causes gst-ffmpeg to spew link-time
errors ("undefined reference to ...") when linking against external FFmpeg.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=584399.
More information about the Gstreamer-bugs
mailing list