1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-29 11:12:56 +00:00

ffmpeg support

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1280 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-07-06 03:22:14 +00:00
parent 9ba1292389
commit 6ab8e6a5c1
2 changed files with 25 additions and 2 deletions

View File

@ -40,6 +40,9 @@ loader/libloader.a:
loader/DirectShow/libDS_Filter.a:
$(MAKE) -C loader/DirectShow
libavcodec/libavcodec.a:
$(MAKE) -C libavcodec
libmpeg2/libmpeg2.a:
$(MAKE) -C libmpeg2

24
configure vendored
View File

@ -377,6 +377,7 @@ _css=no
_dshow=yes
_fastmemcpy=yes
_streaming=no
_libavcodec=no
_x=1
_y=1
@ -438,6 +439,11 @@ else
fi
fi
if [ -d libavcodec ]; then
if [ -e libavcodec/Makefile ]; then
_libavcodec=yes
fi
fi
if [ -c /dev/mga_vid ]; then
_mga=yes
@ -1140,6 +1146,7 @@ echo "Checking for Sun Audio ... $_sun_audio"
echo "Checking for DeCSS support ... $_css"
echo "Checking for PNG support ... $_png"
echo "Checking for DirectShow ... $_dshow"
echo "Checking for libavcodec ... $_libavcodec"
echo "Checking for fastmemcpy ... $_fastmemcpy"
echo "Extra libs : $_extralibdir"
echo "Extra headers : $_extraincdir"
@ -1192,6 +1199,16 @@ else
_dshow='#undef USE_DIRECTSHOW'
fi
if [ $_libavcodec = yes ]; then
_lavclib='-Llibavcodec -lavcodec'
_lavcdep='libavcodec/libavcodec.a'
_libavcodec='#define USE_LIBAVCODEC'
else
_lavclib=''
_lavcdep=''
_libavcodec='#undef USE_LIBAVCODEC'
fi
if [ $_fastmemcpy = yes ]; then
_fastmemcpy='#define USE_FASTMEMCPY'
else
@ -1520,8 +1537,8 @@ LIRC_LIBS = $_lirclibs
CSS_LIB = $_csslib
CSS_INC = $_cssinc
SDL_INC = $_sdlcflags
DS_DEP = $_dshowdep
DS_LIB = $_dshowlib
DS_DEP = $_dshowdep $_lavcdep
DS_LIB = $_dshowlib $_lavclib
ALSA_LIB = $_alsalib
ESD_LIB = $_esdlib
ARCH_LIBS = $_archlibs
@ -1609,6 +1626,9 @@ $_css
/* DirectShow support */
$_dshow
/* ffmpeg's libavcodec support (requires libavcodec source) */
$_libavcodec
/* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/
$_fastmemcpy