From: GStreamer (bugzilla.gnome.org) <bug...@bu...> - 2009-05-31 21:45:17
|
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: gst...@li... ReportedBy: lr...@gm... QAContact: gst...@li... 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. |