CVSROOT: /sources/gnash Module name: gnash Changes by: Rob Savoye <rsavoye> 08/01/25 20:56:03
Modified files: . : configure.ac ChangeLog Log message: * configure.ac: Add test to use gst-inspect to look for installed codecs for Gstreamer. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.475&r2=1.476 http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5499&r2=1.5500 Patches: Index: configure.ac =================================================================== RCS file: /sources/gnash/gnash/configure.ac,v retrieving revision 1.475 retrieving revision 1.476 diff -u -b -r1.475 -r1.476 --- configure.ac 21 Jan 2008 20:55:39 -0000 1.475 +++ configure.ac 25 Jan 2008 20:56:02 -0000 1.476 @@ -1493,7 +1493,19 @@ fi fi +missing_codecs="" if test "$media_handler" = "gst"; then + AC_PATH_PROG(GST_INSPECT, gst-inspect, ,[${pathlist}]) + if test "x$GST_INSPECT" != "x" -a x"${darwin}" = xno ; then + codecs="ffdemux_flv ffdemux_mp3 vorbisdec ffdec_vp6" + for i in $codecs; do + hits="`$GST_INSPECT $i | grep -c 'Long name'`" + if test $hits -eq 0; then + missing_codecs="$missing_codecs $i" + AC_MSG_WARN([Missing codec: $i]) + fi + done + fi GNASH_PKG_FIND(gstreamer, [gst/gst.h], [gstreamer library], gst_init, [0.10]) if test x"${media_handler_specified}" = xfalse; then # If the library is not found, or its version is not ok, we'll try mad @@ -2229,6 +2241,10 @@ fi if test "$media_handler" = "gst"; then + if test x"$missing_codecs" != x; then + echo " Your Gstreamer installtion is missing these codecs: $missing_codecs" + echo " Please install the gstreamer-ffmpeg for Gstreamer" + fi if test x"$GSTREAMER_LIBS" != x; then if test x"$GSTREAMER_CFLAGS" != x; then echo " Gstreamer flags are: $GSTREAMER_CFLAGS" @@ -2239,7 +2255,6 @@ else echo " ERROR: GST media handling requested but gstreamer-0.10+ not found" echo " Install it from http://www.gstreamer.net" - echo " or reconfigure using --enable-media=ffmpeg or =mad" echo " or .deb users: apt-get install libgstreamer0.10-dev" echo " or .rpm users: yum install gstreamer-devel" nogo=true Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.5499 retrieving revision 1.5500 diff -u -b -r1.5499 -r1.5500 --- ChangeLog 25 Jan 2008 20:54:58 -0000 1.5499 +++ ChangeLog 25 Jan 2008 20:56:02 -0000 1.5500 @@ -1,3 +1,8 @@ +2008-01-25 Rob Savoye <[EMAIL PROTECTED]> + + * configure.ac: Add test to use gst-inspect to look for installed + codecs for Gstreamer. + 2008-01-25 Bastiaan Jacques <[EMAIL PROTECTED]> * server/asobj/NetStreamGst.cpp: print the element name when reporting _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit