slurp in ffmpeg a) please test b) please help me figure out how to portably link...
authorThomas Vander Stichele <thomas@apestaart.org>
Thu, 26 Dec 2002 10:53:21 +0000 (10:53 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Thu, 26 Dec 2002 10:53:21 +0000 (10:53 +0000)
Original commit message from CVS:
slurp in ffmpeg

a) please test
b) please help me figure out how to portably link in a .a file in our
.so plugin

common
ext/ffmpeg/Makefile.am

diff --git a/common b/common
index 79e6940..4a7bc52 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 79e6940e7ff1a6cbf959a1f7a0a3d1ed3f90d3ee
+Subproject commit 4a7bc52a893bdd9fefa9fabe460c827822a9e0f2
index ee09b88..8e63781 100644 (file)
@@ -11,8 +11,13 @@ libgstffmpeg_la_SOURCES = gstffmpeg.c                \
                          gstffmpegprotocol.c   \
                          gstffmpegtypes.c      
 
-libgstffmpeg_la_CFLAGS = $(GST_CFLAGS) $(FFMPEG_CFLAGS)
-libgstffmpeg_la_LIBADD = 
-libgstffmpeg_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(FFMPEG_LIBS)
+libgstffmpeg_la_CFLAGS = $(GST_CFLAGS) \
+       -I $(top_builddir)/gst-libs/ext/ffmpeg/ffmpeg/libavcodec \
+       -I $(top_builddir)/gst-libs/ext/ffmpeg/ffmpeg/libavformat
+libgstffmpeg_la_LIBADD = \
+       $(top_builddir)/gst-libs/ext/ffmpeg/ffmpeg/libavcodec/libavcodec.a \
+       $(top_builddir)/gst-libs/ext/ffmpeg/ffmpeg/libavformat/libavformat.a
+
+libgstffmpeg_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
 
 noinst_HEADERS =