[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog configure.ac gui/gnash.cpp gui/... [gnash
From: |
Russ Nelson |
Subject: |
[Gnash-commit] gnash ChangeLog configure.ac gui/gnash.cpp gui/... [gnash_0_8_3_branch] |
Date: |
Thu, 22 May 2008 21:23:59 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Branch: gnash_0_8_3_branch
Changes by: Russ Nelson <nelsonrn> 08/05/22 21:23:58
Modified files:
. : ChangeLog configure.ac
gui : gnash.cpp gtk.cpp
libmedia : MediaParser.h
libmedia/ffmpeg: AudioDecoderFfmpeg.h VideoDecoderFfmpeg.cpp
VideoDecoderFfmpeg.h ffmpegNetStreamUtil.h
sound_handler_sdl.h
macros : ffmpeg.m4
server/asobj : NetStreamFfmpeg.h SoundFfmpeg.h
Log message:
* All files were changed to support the new method for location
of ffmpeg include files. They were moved from .../ffmpeg/* into
.../lib*/*. Also, they changed the way they express the version
number in avcodec.h, which we are parsing to avoid compiling
because we support cross-compilation. We now support that also.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&only_with_tag=gnash_0_8_3_branch&r1=1.6573.2.33&r2=1.6573.2.34
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&only_with_tag=gnash_0_8_3_branch&r1=1.529.2.2&r2=1.529.2.3
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&only_with_tag=gnash_0_8_3_branch&r1=1.118&r2=1.118.2.1
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk.cpp?cvsroot=gnash&only_with_tag=gnash_0_8_3_branch&r1=1.178&r2=1.178.2.1
http://cvs.savannah.gnu.org/viewcvs/gnash/libmedia/MediaParser.h?cvsroot=gnash&only_with_tag=gnash_0_8_3_branch&r1=1.14&r2=1.14.2.1
http://cvs.savannah.gnu.org/viewcvs/gnash/libmedia/ffmpeg/AudioDecoderFfmpeg.h?cvsroot=gnash&only_with_tag=gnash_0_8_3_branch&r1=1.3&r2=1.3.2.1
http://cvs.savannah.gnu.org/viewcvs/gnash/libmedia/ffmpeg/VideoDecoderFfmpeg.cpp?cvsroot=gnash&only_with_tag=gnash_0_8_3_branch&r1=1.7.2.1&r2=1.7.2.2
http://cvs.savannah.gnu.org/viewcvs/gnash/libmedia/ffmpeg/VideoDecoderFfmpeg.h?cvsroot=gnash&only_with_tag=gnash_0_8_3_branch&r1=1.9&r2=1.9.2.1
http://cvs.savannah.gnu.org/viewcvs/gnash/libmedia/ffmpeg/ffmpegNetStreamUtil.h?cvsroot=gnash&only_with_tag=gnash_0_8_3_branch&r1=1.5&r2=1.5.2.1
http://cvs.savannah.gnu.org/viewcvs/gnash/libmedia/ffmpeg/sound_handler_sdl.h?cvsroot=gnash&only_with_tag=gnash_0_8_3_branch&r1=1.8.2.2&r2=1.8.2.3
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/ffmpeg.m4?cvsroot=gnash&only_with_tag=gnash_0_8_3_branch&r1=1.54&r2=1.54.2.1
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/NetStreamFfmpeg.h?cvsroot=gnash&only_with_tag=gnash_0_8_3_branch&r1=1.60.2.2&r2=1.60.2.3
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SoundFfmpeg.h?cvsroot=gnash&only_with_tag=gnash_0_8_3_branch&r1=1.14&r2=1.14.2.1
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6573.2.33
retrieving revision 1.6573.2.34
diff -u -b -r1.6573.2.33 -r1.6573.2.34
--- ChangeLog 22 May 2008 08:16:55 -0000 1.6573.2.33
+++ ChangeLog 22 May 2008 21:23:55 -0000 1.6573.2.34
@@ -1,4 +1,12 @@
-2008-05-20 Bastiaan Jacques <address@hidden>
+2008-05-22 Russ Nelson <address@hidden>
+
+ * All files were changed to support the new method for location
+ of ffmpeg include files. They were moved from .../ffmpeg/* into
+ .../lib*/*. Also, they changed the way they express the version
+ number in avcodec.h, which we are parsing to avoid compiling
+ because we support cross-compilation. We now support that also.
+
+2008-05-22 Bastiaan Jacques <address@hidden>
* server/asobj/SoundFfmpeg.cpp: Ensure the destructor cannot finish
before setupDecoder() has finished. Fixes crashbug #23275.
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.529.2.2
retrieving revision 1.529.2.3
diff -u -b -r1.529.2.2 -r1.529.2.3
--- configure.ac 15 May 2008 15:24:51 -0000 1.529.2.2
+++ configure.ac 22 May 2008 21:23:56 -0000 1.529.2.3
@@ -2533,11 +2533,11 @@
echo " This version of ffmpeg may not work!" >&3
echo " Version 51.27.0 or newer is highly recommended."
>&3
else
- avformat_h=`echo $avcodec_h | sed 's/avcodec/avformat/g'`
- if test ! -f "$avformat_h"; then
+ if test x"${avformat_h}" == x; then
echo " ERROR: FFMPEG's libavcodec header is installed but not
libavformat." >&3
echo " You can install FFMPEG from
http://ffmpeg.mplayerhq.hu" >&3
echo " or .deb users: apt-get install libavformat-dev"
>&3
+ echo " or explicitly set the path using
--with-ffmpeg-incl=" >&5
echo " or reconfigure with --enable-media=gst" >&3
else
if test x"$FFMPEG_CFLAGS" != x; then
Index: gui/gnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.cpp,v
retrieving revision 1.118
retrieving revision 1.118.2.1
diff -u -b -r1.118 -r1.118.2.1
--- gui/gnash.cpp 9 May 2008 15:30:14 -0000 1.118
+++ gui/gnash.cpp 22 May 2008 21:23:57 -0000 1.118.2.1
@@ -33,6 +33,12 @@
}
#endif
+#ifdef HAVE_LIBAVCODEC_AVCODEC_H
+extern "C" {
+# include "libavcodec/avcodec.h"
+}
+#endif
+
#ifdef HAVE_GST_GST_H
# include "gst/gst.h"
# include "gst/gstversion.h"
Index: gui/gtk.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gtk.cpp,v
retrieving revision 1.178
retrieving revision 1.178.2.1
diff -u -b -r1.178 -r1.178.2.1
--- gui/gtk.cpp 7 May 2008 14:38:14 -0000 1.178
+++ gui/gtk.cpp 22 May 2008 21:23:57 -0000 1.178.2.1
@@ -53,6 +53,12 @@
}
#endif
+#ifdef HAVE_LIBAVCODEC_AVCODEC_H
+extern "C" {
+# include "libavcodec/avcodec.h" // Only for the version number
+}
+#endif
+
#ifdef HAVE_GST_GST_H
# include "gst/gstversion.h" // Only for the version number
#endif
Index: libmedia/MediaParser.h
===================================================================
RCS file: /sources/gnash/gnash/libmedia/MediaParser.h,v
retrieving revision 1.14
retrieving revision 1.14.2.1
diff -u -b -r1.14 -r1.14.2.1
--- libmedia/MediaParser.h 5 Mar 2008 03:55:54 -0000 1.14
+++ libmedia/MediaParser.h 22 May 2008 21:23:57 -0000 1.14.2.1
@@ -28,10 +28,17 @@
#include "tu_file.h"
#ifdef USE_FFMPEG
-extern "C"
-{
- #include <ffmpeg/avcodec.h>
+#ifdef HAVE_FFMPEG_AVCODEC_H
+extern "C" {
+# include "ffmpeg/avcodec.h"
}
+#endif
+
+#ifdef HAVE_LIBAVCODEC_AVCODEC_H
+extern "C" {
+# include "libavcodec/avcodec.h"
+}
+#endif
#endif // USE_FFMPEG
#include <memory>
Index: libmedia/ffmpeg/AudioDecoderFfmpeg.h
===================================================================
RCS file: /sources/gnash/gnash/libmedia/ffmpeg/AudioDecoderFfmpeg.h,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -b -r1.3 -r1.3.2.1
--- libmedia/ffmpeg/AudioDecoderFfmpeg.h 5 Mar 2008 03:55:54 -0000
1.3
+++ libmedia/ffmpeg/AudioDecoderFfmpeg.h 22 May 2008 21:23:57 -0000
1.3.2.1
@@ -24,9 +24,17 @@
#define __STDC_CONSTANT_MACROS
#endif
+#ifdef HAVE_FFMPEG_AVCODEC_H
extern "C" {
-#include <ffmpeg/avcodec.h>
+# include "ffmpeg/avcodec.h"
}
+#endif
+
+#ifdef HAVE_LIBAVCODEC_AVCODEC_H
+extern "C" {
+# include "libavcodec/avcodec.h"
+}
+#endif
#include "log.h"
#include "AudioDecoder.h"
Index: libmedia/ffmpeg/VideoDecoderFfmpeg.cpp
===================================================================
RCS file: /sources/gnash/gnash/libmedia/ffmpeg/VideoDecoderFfmpeg.cpp,v
retrieving revision 1.7.2.1
retrieving revision 1.7.2.2
diff -u -b -r1.7.2.1 -r1.7.2.2
--- libmedia/ffmpeg/VideoDecoderFfmpeg.cpp 13 May 2008 23:57:40 -0000
1.7.2.1
+++ libmedia/ffmpeg/VideoDecoderFfmpeg.cpp 22 May 2008 21:23:57 -0000
1.7.2.2
@@ -20,11 +20,20 @@
#include "VideoDecoderFfmpeg.h"
-#ifdef HAVE_SWSCALE_H
+#ifdef HAVE_FFMPEG_SWSCALE_H
+#define HAVE_SWSCALE_H 1
extern "C" {
#include <ffmpeg/swscale.h>
}
#endif
+
+#ifdef HAVE_LIBSWSCALE_SWSCALE_H
+#define HAVE_SWSCALE_H 1
+extern "C" {
+#include <libswscale/swscale.h>
+}
+#endif
+
#include <boost/scoped_array.hpp>
//#include <boost/foreach.hpp>
#include <boost/bind.hpp>
Index: libmedia/ffmpeg/VideoDecoderFfmpeg.h
===================================================================
RCS file: /sources/gnash/gnash/libmedia/ffmpeg/VideoDecoderFfmpeg.h,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -u -b -r1.9 -r1.9.2.1
--- libmedia/ffmpeg/VideoDecoderFfmpeg.h 22 Mar 2008 20:29:20 -0000
1.9
+++ libmedia/ffmpeg/VideoDecoderFfmpeg.h 22 May 2008 21:23:57 -0000
1.9.2.1
@@ -28,10 +28,17 @@
#include "log.h"
#include "VideoDecoder.h"
+#ifdef HAVE_FFMPEG_AVCODEC_H
extern "C" {
-#include <ffmpeg/avcodec.h>
+# include "ffmpeg/avcodec.h"
}
+#endif
+#ifdef HAVE_LIBAVCODEC_AVCODEC_H
+extern "C" {
+# include "libavcodec/avcodec.h"
+}
+#endif
namespace gnash {
namespace media {
Index: libmedia/ffmpeg/ffmpegNetStreamUtil.h
===================================================================
RCS file: /sources/gnash/gnash/libmedia/ffmpeg/ffmpegNetStreamUtil.h,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -b -r1.5 -r1.5.2.1
--- libmedia/ffmpeg/ffmpegNetStreamUtil.h 28 Mar 2008 16:23:07 -0000
1.5
+++ libmedia/ffmpeg/ffmpegNetStreamUtil.h 22 May 2008 21:23:58 -0000
1.5.2.1
@@ -29,11 +29,19 @@
#include "dsodefs.h" //For DSOEXPORT
#ifdef USE_FFMPEG
+#ifdef HAVE_FFMPEG_AVCODEC_H
extern "C" {
-#include <ffmpeg/avcodec.h>
+# include "ffmpeg/avcodec.h"
}
#endif
+#ifdef HAVE_LIBAVCODEC_AVCODEC_H
+extern "C" {
+# include "libavcodec/avcodec.h"
+}
+#endif
+#endif
+
#include <queue>
#include <iconv.h>
Index: libmedia/ffmpeg/sound_handler_sdl.h
===================================================================
RCS file: /sources/gnash/gnash/libmedia/ffmpeg/sound_handler_sdl.h,v
retrieving revision 1.8.2.2
retrieving revision 1.8.2.3
diff -u -b -r1.8.2.2 -r1.8.2.3
--- libmedia/ffmpeg/sound_handler_sdl.h 16 May 2008 14:04:19 -0000 1.8.2.2
+++ libmedia/ffmpeg/sound_handler_sdl.h 22 May 2008 21:23:58 -0000 1.8.2.3
@@ -27,9 +27,17 @@
#include "log.h"
#ifdef USE_FFMPEG
+#ifdef HAVE_FFMPEG_AVCODEC_H
extern "C" {
-#include <ffmpeg/avcodec.h>
+# include "ffmpeg/avcodec.h"
}
+#endif
+
+#ifdef HAVE_LIBAVCODEC_AVCODEC_H
+extern "C" {
+# include "libavcodec/avcodec.h"
+}
+#endif
#elif defined(USE_MAD)
#include <mad.h>
#endif
Index: macros/ffmpeg.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/ffmpeg.m4,v
retrieving revision 1.54
retrieving revision 1.54.2.1
diff -u -b -r1.54 -r1.54.2.1
--- macros/ffmpeg.m4 5 Mar 2008 03:55:55 -0000 1.54
+++ macros/ffmpeg.m4 22 May 2008 21:23:58 -0000 1.54.2.1
@@ -26,17 +26,28 @@
AC_ARG_WITH(ffmpeg_incl, AC_HELP_STRING([--with-ffmpeg-incl], [directory
where ffmpeg headers are]), with_ffmpeg_incl=${withval})
AC_CACHE_VAL(ac_cv_path_ffmpeg_incl,[
if test x"${with_ffmpeg_incl}" != x ; then
+ avcodec_h=""
if test -f ${with_ffmpeg_incl}/ffmpeg/avcodec.h ; then
ac_cv_path_ffmpeg_incl="-I`(cd ${with_ffmpeg_incl}; pwd)`"
avcodec_h="${with_ffmpeg_incl}/ffmpeg/avcodec.h"
+ fi
+ if test -f ${with_ffmpeg_incl}/libavcodec/avcodec.h ; then
+ ac_cv_path_ffmpeg_incl="-I`(cd ${with_ffmpeg_incl}; pwd)`"
+ if test x$avcodec_h != x; then
+ AC_MSG_ERROR([${with_ffmpeg_incl} directory contains both the
ffmpeg/avcodec.h and libavcodec/avcodec.h headers])
+ fi
+ avcodec_h="${with_ffmpeg_incl}/libavcodec/avcodec.h"
+ fi
+ if test x$avcodec_h != x; then
CFLAGS="$ac_cv_path_ffmpeg_incl $CFLAGS"
else
- AC_MSG_ERROR([${with_ffmpeg_incl} directory doesn't contain the
ffmpeg/avcodec.h header])
+ AC_MSG_ERROR([${with_ffmpeg_incl} directory contains neither the
ffmpeg/avcodec.h nor libavcodec/avcodec.h header])
fi
fi
])
if test x${cross_compiling} = xno; then
+ AC_MSG_CHECKING([location of avcodec.h using pkgconfig])
if test x"$PKG_CONFIG" != x -a x"${ac_cv_path_ffmpeg_incl}" = x; then
if $PKG_CONFIG --exists libavcodec; then
# Some systems return /usr/include/ffmpeg, others /usr/include.
@@ -49,7 +60,9 @@
# ac_cv_path_ffmpeg_incl might include several paths (e.g. pointers to
# external libraries used by ffmpeg). Let's find the right one.
for i in `$PKG_CONFIG --cflags-only-I libavcodec |sed -e 's:-I::g'`; do
- if test -e "$i"/avcodec.h -o -e "$i"/ffmpeg/avcodec.h; then
+ if test -e "$i"/avcodec.h -o \
+ -e "$i"/ffmpeg/avcodec.h -o \
+ -e "$i"/libavcodec/avcodec.h; then
topdir="$i"
break
fi
@@ -57,7 +70,8 @@
else
# Let's see if ffmpeg is installed without using pkgconfig...
for i in /usr/include /usr/local/include /opt/ffmpeg/include; do
- if test -e "$i"/ffmpeg/avcodec.h; then
+ if test -e "$i"/ffmpeg/avcodec.h -o \
+ -e "$i"/libavcodec/avcodec.h; then
topdir="$i"
break
fi
@@ -67,13 +81,19 @@
topdir=`echo "$topdir" | sed 's:/ffmpeg *$::'`
# Gets "" if not installed
if test x"$topdir" != x; then
+ if test -e "$topdir/ffmpeg/avcodec.h"; then
avcodec_h="$topdir/ffmpeg/avcodec.h"
+ else
+ avcodec_h="$topdir/libavcodec/avcodec.h"
+ fi
fi
fi
+ AC_MSG_RESULT($avcodec_h)
fi
dnl incllist is inherited from configure.ac.
if test x"${ac_cv_path_ffmpeg_incl}" = x ; then
+ AC_MSG_CHECKING([location of avcodec.h using incllist])
for i in $incllist; do
if test -f $i/ffmpeg/avcodec.h; then
ac_cv_path_ffmpeg_incl="-I$i"
@@ -82,7 +102,15 @@
avcodec_h="$i/ffmpeg/avcodec.h"
break
fi
+ if test -f $i/libavcodec/avcodec.h; then
+ ac_cv_path_ffmpeg_incl="-I$i"
+ CFLAGS="$ac_cv_path_ffmpeg_incl $CFLAGS"
+ topdir=$i
+ avcodec_h="$i/libavcodec/avcodec.h"
+ break
+ fi
done
+ AC_MSG_RESULT($avcodec_h)
fi
if test x"${ac_cv_path_ffmpeg_incl}" = x; then
@@ -90,7 +118,11 @@
AC_CHECK_HEADERS(ffmpeg/avcodec.h, [ac_cv_path_ffmpeg_incl=""])
fi
else
+ if echo $avcodec_h | grep -q ffmpeg; then
AC_DEFINE(HAVE_FFMPEG_AVCODEC_H, 1, [Define if you have avcodec.h
installed.])
+ else
+ AC_DEFINE(HAVE_LIBAVCODEC_AVCODEC_H, 1, [Define if you have avcodec.h
installed.])
+ fi
fi
dnl Find and check libavcodec version number to make sure we have a usable
@@ -131,6 +163,19 @@
dnl (note, LIBAVCODEC_VERSION also changes from a quoted string to unquoted)
dnl see http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/2005-July/000570.html
dnl
+dnl
+dnl This changed from the above to
+dnl #define LIBAVCODEC_VERSION_MAJOR 51
+dnl #define LIBAVCODEC_VERSION_MINOR 54
+dnl #define LIBAVCODEC_VERSION_MICRO 0
+dnl
+dnl #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
+dnl LIBAVCODEC_VERSION_MINOR, \
+dnl LIBAVCODEC_VERSION_MICRO)
+dnl #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \
+dnl LIBAVCODEC_VERSION_MINOR, \
+dnl LIBAVCODEC_VERSION_MICRO)
+
dnl Those deb-heads at Debian redefine LIBAVCODEC_VERSION in their versions to
dnl (e.g.) 1d.51.38.0 or dnl 0d.51.11.0 - we need to discard the prefixed
dnl rubbish.
@@ -155,14 +200,18 @@
# Check avcodec version number, if it was found
if test x"${avcodec_h}" != x; then
- AC_MSG_CHECKING([for ffmpeg version])
+ AC_MSG_CHECKING([ffmpeg version])
+ ffmpeg_version=`$EGREP "define LIBAVCODEC_VERSION_MAJOR " ${avcodec_h} |
sed -e "s%[[^0-9]]%%g"``$EGREP "define LIBAVCODEC_VERSION_MINOR " ${avcodec_h}
| sed -e "s%[[^0-9]]%%g"``$EGREP "define LIBAVCODEC_VERSION_MICRO "
${avcodec_h} | sed -e "s%[[^0-9]]%%g"`
+ ffmpeg_num_version=$ffmpeg_version
+ if test x"${ffmpeg_version}" = x ; then
- ffmpeg_num_version=`$EGREP "define LIBAVCODEC_VERSION " ${avcodec_h} | sed
-e "s%[[^0-9]]%%g"`
- ffmpeg_version=`$EGREP "define LIBAVCODEC_VERSION " ${avcodec_h} | sed -e
"s%[[^0-9.]]%%g"`
+ ffmpeg_version=`$EGREP "define LIBAVCODEC_VERSION " ${avcodec_h} | sed
-e "s%[[^0-9]]%%g"`
+ ffmpeg_num_version=$ffmpeg_version
if test x"${ffmpeg_version}" = x ; then
ffmpeg_version=`$EGREP "define LIBAVCODEC_BUILD " ${avcodec_h} | sed -e
"s%[[^0-9.]]%%g"`
- ffmpeg_num_version=`$EGREP "define LIBAVCODEC_BUILD " ${avcodec_h} | sed
-e "s%[[^0-9]]%%g"`
+ ffmpeg_num_version=$ffmpeg_version
+ fi
fi
AC_MSG_RESULT($ffmpeg_num_version)
@@ -197,10 +246,29 @@
FFMPEG_CFLAGS=""
fi
- if test x"$avcodec_h" != x; then
- swscale_h="`dirname $avcodec_h`/swscale.h"
- if test -f "$swscale_h" -a $ffmpeg_num_version -gt 51403; then
- AC_DEFINE(HAVE_SWSCALE_H, 1, [Define if swscale.h is found])
+ AC_MSG_CHECKING([for avformat.h])
+ avformat_h=`echo ${ac_cv_path_ffmpeg_incl} | sed 's/-I//'`
+ if test -f "${avformat_h}/ffmpeg/avformat.h"; then
+ AC_DEFINE(HAVE_FFMPEG_AVFORMAT_H, 1, [Define if avformat.h is found])
+ avformat_h="${avformat_h}/ffmpeg/avformat.h"
+ else
+ if test -f "${avformat_h}/libavformat/avformat.h"; then
+ AC_DEFINE(HAVE_LIBAVFORMAT_AVFORMAT_H, 1, [Define if avformat.h is
found])
+ avformat_h="${avformat_h}/libavformat/avformat.h"
+ else
+ avformat_h=""
+ fi
+ fi
+ AC_MSG_RESULT($avformat_h)
+
+ dnl look for swscale.h, but ignore versions older than 51.40.3
+ if test $ffmpeg_num_version -gt 51403; then
+ swscale_h=`echo ${ac_cv_path_ffmpeg_incl} | sed 's/-I//'`
+ if test -f "${swscale_h}/ffmpeg/swscale.h"; then
+ AC_DEFINE(HAVE_FFMPEG_SWSCALE_H, 1, [Define if swscale.h is found])
+ fi
+ if test -f "${swscale_h}/libswscale/swscale.h"; then
+ AC_DEFINE(HAVE_LIBSWSCALE_SWSCALE_H, 1, [Define if swscale.h is found])
fi
fi
Index: server/asobj/NetStreamFfmpeg.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/NetStreamFfmpeg.h,v
retrieving revision 1.60.2.2
retrieving revision 1.60.2.3
diff -u -b -r1.60.2.2 -r1.60.2.3
--- server/asobj/NetStreamFfmpeg.h 21 May 2008 11:35:49 -0000 1.60.2.2
+++ server/asobj/NetStreamFfmpeg.h 22 May 2008 21:23:58 -0000 1.60.2.3
@@ -37,9 +37,17 @@
#include "impl.h"
+#ifdef HAVE_FFMPEG_AVFORMAT_H
extern "C" {
#include <ffmpeg/avformat.h>
}
+#endif
+
+#ifdef HAVE_LIBAVFORMAT_AVFORMAT_H
+extern "C" {
+#include <libavformat/avformat.h>
+}
+#endif
#include "image.h"
#include "StreamProvider.h"
Index: server/asobj/SoundFfmpeg.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SoundFfmpeg.h,v
retrieving revision 1.14
retrieving revision 1.14.2.1
diff -u -b -r1.14 -r1.14.2.1
--- server/asobj/SoundFfmpeg.h 26 Mar 2008 21:34:22 -0000 1.14
+++ server/asobj/SoundFfmpeg.h 22 May 2008 21:23:58 -0000 1.14.2.1
@@ -32,9 +32,17 @@
// TODO: use a global define for disabling all threads at once
#define LOADS_IN_SEPARATE_THREAD
+#ifdef HAVE_FFMPEG_AVFORMAT_H
extern "C" {
#include <ffmpeg/avformat.h>
}
+#endif
+
+#ifdef HAVE_LIBAVFORMAT_AVFORMAT_H
+extern "C" {
+#include <libavformat/avformat.h>
+}
+#endif
namespace gnash {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog configure.ac gui/gnash.cpp gui/... [gnash_0_8_3_branch],
Russ Nelson <=