Enlightenment CVS committal

Author  : tsauerbeck
Project : misc
Module  : eplayer

Dir     : misc/eplayer


Modified Files:
        ChangeLog configure.ac 


Log Message:
Added ID3 support to the libavcodec input plugin
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- ChangeLog   24 Oct 2003 11:38:48 -0000      1.13
+++ ChangeLog   24 Oct 2003 18:56:39 -0000      1.14
@@ -1,7 +1,9 @@
-$Id: ChangeLog,v 1.13 2003/10/24 11:38:48 tsauerbeck Exp $
+$Id: ChangeLog,v 1.14 2003/10/24 18:56:39 tsauerbeck Exp $
 
 2003-10-24 Tilman Sauerbeck <[EMAIL PROTECTED]>
         * src/input/avcodec: Added libavcodec input plugin
+        * src/input/avcodec/avcodec.c: Now uses libavformat to read
+          MP3 tags.
 
 2003-10-23 Tilman Sauerbeck <[EMAIL PROTECTED]>
         * src/input: Added a input plugin system
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/configure.ac,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- configure.ac        24 Oct 2003 11:38:48 -0000      1.8
+++ configure.ac        24 Oct 2003 18:56:39 -0000      1.9
@@ -1,4 +1,4 @@
-dnl $Id: configure.ac,v 1.8 2003/10/24 11:38:48 tsauerbeck Exp $
+dnl $Id: configure.ac,v 1.9 2003/10/24 18:56:39 tsauerbeck Exp $
 
 AC_INIT(src/eplayer.c)
 
@@ -72,15 +72,18 @@
 tmp=$LIBS
 
 AC_CHECK_LIB(avcodec, avcodec_init,
-       [
-               have_avcodec="yes"
-               
-               AVCODEC_CFLAGS="-I/usr/include/ffmpeg"
-               AVCODEC_LIBS="-lavcodec"
+       [have_avcodec="yes"; LIBS="$LIBS -lavcodec"], have_avcodec="no")
+
+if test "x$have_avcodec" = "xyes"; then
+       AC_CHECK_LIB(avformat, av_register_all,
+               [
+                       AVCODEC_CFLAGS="-I/usr/include/ffmpeg"
+                       AVCODEC_LIBS="-lavcodec -lavformat"
                
-               AC_SUBST(AVCODEC_CFLAGS)
-               AC_SUBST(AVCODEC_LIBS)
-       ], have_avcodec="no")
+                       AC_SUBST(AVCODEC_CFLAGS)
+                       AC_SUBST(AVCODEC_LIBS)
+               ], have_avcodec="no")
+fi
 
 LIBS=$tmp
 AM_CONDITIONAL(HAVE_AVCODEC, test "$have_avcodec" = "yes")




-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to