[Gstreamer-bugs] [Bug 113492] New - configure.ac runs gst-inspect without testing for it

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Wed May 21 19:36:08 PDT 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=113492

Changed by ds at schleef.org.

--- shadow/113492	Wed May 21 22:36:08 2003
+++ shadow/113492.tmp.20265	Wed May 21 22:36:08 2003
@@ -0,0 +1,37 @@
+Bug#: 113492
+Product: GStreamer
+Version: HEAD CVS
+OS: Linux
+OS Details: Debian(sid)/alpha
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: gst-player
+AssignedTo: gstreamer-maint at bugzilla.gnome.org                            
+ReportedBy: ds at schleef.org               
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: 0.6.x
+URL: 
+Summary: configure.ac runs gst-inspect without testing for it
+
+gst-player/configure.ac calls gst-inspect to gather information about MIME
+types supported.  First of all, gst-inspect might not be installed. 
+Second, the correct gst-inspect might not be first in the PATH, if it is in
+the path at all.  Third, doing this detection at compile time is most
+likely incorrect, since the same plugins might not be installed at run time.
+
+Excerpt from configure.ac:
+
+INSPECTED_MIME_TYPES=`gst-inspect | grep type: | awk -F ":" '{print \$2}' |
+grep -e "/" | sort | uniq`
+SUPPORTED_MIME_TYPES=`for MIMETYPE in $INSPECTED_MIME_TYPES; do echo -n
+"<item value=\"$MIMETYPE\"/>"; done`
+AC_SUBST(SUPPORTED_MIME_TYPES)
+
+What I get on a machine with few plugins installed:
+
+SUPPORTED_MIME_TYPES = <item value="audio/raw"/><item value="video/raw"/>
+
+Note also that these were the MIME types supported by my 0.6.1 install, not
+those supported by the CVS-HEAD tree that I was compiling against.





More information about the Gstreamer-bugs mailing list