[Gstreamer-bugs] [Bug 105242] New - build ffmpeg libs as shared libs

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Tue Feb 4 14:17:54 PST 2003


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=105242

Changed by dlehn at vt.edu.

--- shadow/105242	Tue Feb  4 17:17:53 2003
+++ shadow/105242.tmp.3909	Tue Feb  4 17:17:54 2003
@@ -0,0 +1,35 @@
+Bug#: 105242
+Product: GStreamer
+Version: 0.6.0
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: gst-plugins
+AssignedTo: gstreamer-maint at bugzilla.gnome.org                            
+ReportedBy: dlehn at vt.edu               
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: 0.6.x
+URL: 
+Summary: build ffmpeg libs as shared libs
+
+From Bug#104208:
+
+"I was thinking this is a problem of ffmpeg libs not being built
+shared.  Right now the ffmpeg plugin links to ibavcodec.a and
+libavformat.a.  I think the theory is that we have to change the build
+so that ffmpeg's configure script is called with --enable-shared.  I
+did this and can provide the patch but I'm not sure it matters. 
+ffmpeg only builds libavcodec.so not libavformat.so.  Just fixing one
+of the libs probably isn't enough.  Plus if you look at the ffmpeg
+build scripts it's not like it even bothers to use the flag to do
+-fPIC.  This is ok on x86 but not many other archs.  It looks like the
+solution may be to work on the ffmpeg build so it uses the
+BUILD_SHARED flag to use -fPIC and build shared lib for libavformat
+too.  Yuck."
+
+Attached is a partial patch.  This will build libavcodec as a shared lib. 
+However, libavformat is still setup to build as a static lib.  Further work
+is needed to build that shared too.





More information about the Gstreamer-bugs mailing list