summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 02:06:48 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 02:07:11 +0300
commit6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (patch)
tree09a6acada909bd5d070ace54209cadeae66d15cf
parente306174952d42e1cd6cc5efc50ae6bb0410501bc (diff)
parenteafe5b7517bbf408ae1ffc936a3abe2313c3b334 (diff)
downloadmpv-6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0.tar.bz2
mpv-6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0.tar.xz
Merge svn changes up to r29304
-rw-r--r--DOCS/man/fr/mplayer.12
-rw-r--r--DOCS/xml/en/skin.xml66
-rw-r--r--Makefile11
-rwxr-xr-xconfigure24
-rw-r--r--libmpcodecs/vf_zrmjpeg.c2
-rw-r--r--libmpdemux/asf.h18
-rw-r--r--libmpdemux/asfheader.c19
-rw-r--r--libmpdemux/aviheader.c17
-rw-r--r--libmpdemux/aviheader.h18
-rw-r--r--libmpdemux/aviprint.c17
-rw-r--r--libmpdemux/demux_aac.c18
-rw-r--r--libmpdemux/demux_asf.c21
-rw-r--r--libmpdemux/demux_audio.c17
-rw-r--r--libmpdemux/demux_avi.c21
-rw-r--r--libmpdemux/demux_demuxers.c17
-rw-r--r--libmpdemux/demux_film.c35
-rw-r--r--libmpdemux/demux_fli.c22
-rw-r--r--libmpdemux/demux_gif.c22
-rw-r--r--libmpdemux/demux_lmlm4.c22
-rw-r--r--libmpdemux/demux_mf.c17
-rw-r--r--libmpdemux/demux_mkv.c23
-rw-r--r--libmpdemux/demux_mov.c59
-rw-r--r--libmpdemux/demux_mpc.c23
-rw-r--r--libmpdemux/demux_mpg.c21
-rw-r--r--libmpdemux/demux_nsv.c24
-rw-r--r--libmpdemux/demux_nut.c18
-rw-r--r--libmpdemux/demux_ogg.c17
-rw-r--r--libmpdemux/demux_pva.c29
-rw-r--r--libmpdemux/demux_rawaudio.c17
-rw-r--r--libmpdemux/demux_rawdv.c26
-rw-r--r--libmpdemux/demux_rawvideo.c17
-rw-r--r--libmpdemux/demux_real.c56
-rw-r--r--libmpdemux/demux_realaud.c22
-rw-r--r--libmpdemux/demux_roq.c26
-rw-r--r--libmpdemux/demux_rtp.cpp22
-rw-r--r--libmpdemux/demux_rtp.h18
-rw-r--r--libmpdemux/demux_rtp_codec.cpp22
-rw-r--r--libmpdemux/demux_rtp_internal.h18
-rw-r--r--libmpdemux/demux_smjpeg.c29
-rw-r--r--libmpdemux/demux_ts.c23
-rw-r--r--libmpdemux/demux_viv.c23
-rw-r--r--libmpdemux/demux_vqf.c18
-rw-r--r--libmpdemux/demux_y4m.c26
-rw-r--r--libmpdemux/demuxer.c20
-rw-r--r--libmpdemux/demuxer.h18
-rw-r--r--libmpdemux/ebml.c21
-rw-r--r--libmpdemux/ebml.h18
-rw-r--r--libmpdemux/extension.c17
-rw-r--r--libmpdemux/matroska.h16
-rw-r--r--libmpdemux/mf.c17
-rw-r--r--libmpdemux/mf.h17
-rw-r--r--libmpdemux/mp3_hdr.c18
-rw-r--r--libmpdemux/mp3_hdr.h18
-rw-r--r--libmpdemux/mpeg_hdr.c21
-rw-r--r--libmpdemux/mpeg_hdr.h18
-rw-r--r--libmpdemux/ms_hdr.h18
-rw-r--r--libmpdemux/muxer.c17
-rw-r--r--libmpdemux/muxer.h18
-rw-r--r--libmpdemux/muxer_avi.c18
-rw-r--r--libmpdemux/muxer_lavf.c18
-rw-r--r--libmpdemux/muxer_mpeg.c17
-rw-r--r--libmpdemux/muxer_rawaudio.c18
-rw-r--r--libmpdemux/muxer_rawvideo.c17
-rw-r--r--libmpdemux/parse_es.c20
-rw-r--r--libmpdemux/parse_es.h18
-rw-r--r--libmpdemux/qtpalette.h24
-rw-r--r--libmpdemux/stheader.h18
-rw-r--r--libmpdemux/video.c20
-rw-r--r--libmpdemux/yuv4mpeg.h18
-rw-r--r--libswscale/ppc/swscale_altivec_template.c10
-rw-r--r--libswscale/ppc/yuv2rgb_altivec.c4
-rw-r--r--libswscale/swscale.c7
-rw-r--r--libswscale/swscale.h4
-rw-r--r--libswscale/swscale_internal.h4
-rw-r--r--sub_cc.c48
-rw-r--r--subopt-helper.c8
-rw-r--r--subreader.c152
-rw-r--r--vidix/vidix.h4
-rw-r--r--vobsub.c4
-rw-r--r--xvid_vbr.c28
-rw-r--r--xvid_vbr.h2
81 files changed, 1385 insertions, 351 deletions
diff --git a/DOCS/man/fr/mplayer.1 b/DOCS/man/fr/mplayer.1
index a5148bb8fe..a2f2022bbe 100644
--- a/DOCS/man/fr/mplayer.1
+++ b/DOCS/man/fr/mplayer.1
@@ -1647,7 +1647,7 @@ Se rabat automatiquement sur IPv6.
.
.TP
.B \-prefer\-ipv6 (réseau IPv6 uniquement)
-Utilise IPv4 pour les connections réseau.
+Utilise IPv6 pour les connections réseau.
Se rabat automatiquement sur IPv4.
.
.TP
diff --git a/DOCS/xml/en/skin.xml b/DOCS/xml/en/skin.xml
index 2be4e940d4..d2ace85c22 100644
--- a/DOCS/xml/en/skin.xml
+++ b/DOCS/xml/en/skin.xml
@@ -6,62 +6,8 @@
<sect1 id="skin-overview">
<title>Overview</title>
-<para>
-It does not really have anything to do with the skin format, but you should
-know that <application>MPlayer</application> has
-<emphasis role="bold">no</emphasis> builtin skin, so
-<emphasis role="bold">at least one skin must be installed in order to be able
-to use the GUI.</emphasis>
-</para>
-
<!-- ********** -->
-<sect2 id="skin-overview-directories">
-<title>Directories</title>
-
-<para>
-The directories searched for skins are (in order):
-<orderedlist>
-<listitem><para>
- <filename class="directory">$(DATADIR)/skins/</filename>
-</para></listitem>
-<listitem><para>
- <filename class="directory">$(PREFIX)/share/mplayer/skins/</filename>
-</para></listitem>
-<listitem><para>
- <filename class="directory">~/.mplayer/skins/</filename>
-</para></listitem>
-</orderedlist>
-</para>
-
-<para>
-Note that the first path may vary according to the way
-<application>MPlayer</application> was configured (see the
-<option>--prefix</option> and <option>--datadir</option>
-arguments of the <command>configure</command> script).
-</para>
-
-<para>
-Every skin is installed into its own directory under one of the directories
-listed above, for example:
-<screen>$(PREFIX)/share/mplayer/skins/default/</screen>
-</para>
-</sect2>
-
-<!-- ********** -->
-
-<sect2 id="skin-overview-formats">
-<title>Image formats</title>
-
-<para>Images must be truecolor (24 or 32 bpp) PNGs.</para>
-<para>
-In the main window and in the playbar (see below) you can use images with
-`transparency': Regions filled with the color #FF00FF (magenta) are fully
-transparent when viewed by <application>MPlayer</application>. This means
-that you can even have shaped windows if your X server has the XShape extension.
-</para>
-</sect2>
-
<sect2 id="skin-overview-components">
<title>Skin components</title>
@@ -162,6 +108,18 @@ they are clicked.
</para>
</sect2>
+<sect2 id="skin-overview-formats">
+<title>Image formats</title>
+
+<para>Images must be truecolor (24 or 32 bpp) PNGs.</para>
+<para>
+In the main window and in the playbar (see below) you can use images with
+`transparency': Regions filled with the color #FF00FF (magenta) are fully
+transparent when viewed by <application>MPlayer</application>. This means
+that you can even have shaped windows if your X server has the XShape extension.
+</para>
+</sect2>
+
<!-- ********** -->
<sect2 id="skin-files">
diff --git a/Makefile b/Makefile
index 9d342f651c..3b183e76a7 100644
--- a/Makefile
+++ b/Makefile
@@ -884,11 +884,10 @@ codec-cfg.d codec-cfg.o: codecs.conf.h
$(DEPS) $(MENCODER_DEPS) $(MPLAYER_DEPS): help_mp.h
$(call ADDSUFFIXES,.d .o,mpcommon vobsub stream/stream_cddb stream/network libmpdemux/muxer_avi gui/win32/gui): version.h
-libdvdcss/%: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.10\" $(CFLAGS_LIBDVDCSS)
-libdvdnav/%: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE -DHAVE_CONFIG_H -DVERSION=\"MPlayer-custom\"
-libdvdnav/% stream/stream_dvdnav%: CFLAGS += $(CFLAGS_LIBDVDNAV)
-libdvdread4/%: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE -DHAVE_CONFIG_H $(CFLAGS_LIBDVDCSS_DVDREAD)
-libfaad2/%: CFLAGS += -Ilibfaad2 -D_GNU_SOURCE -DHAVE_CONFIG_H $(CFLAGS_FAAD_FIXED)
+libdvdcss/%: CFLAGS := -Ilibdvdcss -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.10\" $(CFLAGS_LIBDVDCSS) $(CFLAGS)
+libdvdnav/%: CFLAGS := -Ilibdvdnav -D__USE_UNIX98 -D_GNU_SOURCE -DHAVE_CONFIG_H -DVERSION=\"MPlayer-custom\" $(CFLAGS)
+libdvdread4/%: CFLAGS := -Ilibdvdread4 -D__USE_UNIX98 -D_GNU_SOURCE $(CFLAGS_LIBDVDCSS_DVDREAD) $(CFLAGS)
+libfaad2/%: CFLAGS := -Ilibfaad2 -D_GNU_SOURCE -DHAVE_CONFIG_H $(CFLAGS_FAAD_FIXED) $(CFLAGS)
loader/%: CFLAGS += -Iloader -fno-omit-frame-pointer $(CFLAGS_NO_OMIT_LEAF_FRAME_POINTER)
#loader/%: CFLAGS += -Ddbg_printf=__vprintf -DTRACE=__vprintf -DDETAILED_OUT
@@ -896,6 +895,8 @@ loader/win32%: CFLAGS += $(CFLAGS_STACKREALIGN)
mp3lib/decode_i586%: CFLAGS += -fomit-frame-pointer
+stream/stream_dvdnav%: CFLAGS := $(CFLAGS_LIBDVDNAV) $(CFLAGS)
+
tremor/%: CFLAGS += $(CFLAGS_TREMOR_LOW)
vidix/%: CFLAGS += $(CFLAGS_DHAHELPER) $(CFLAGS_SVGALIB_HELPER)
diff --git a/configure b/configure
index 1671c6da71..dd03b02efd 100755
--- a/configure
+++ b/configure
@@ -2090,12 +2090,14 @@ EOF
ppc|ppc64|powerpc|powerpc64)
_arch='PPC'
def_dcbzl='#define HAVE_DCBZL 0'
+ def_ppc64='#define HAVE_PPC64 0'
_target_arch='ARCH_PPC = yes'
def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
iproc='ppc'
if test "$host_arch" = "ppc64" -o "$host_arch" = "powerpc64" ; then
def_fast_64bit='#define HAVE_FAST_64BIT 1'
+ def_ppc64='#define HAVE_PPC64 1'
fi
echocheck "CPU type"
case $system_name in
@@ -5817,7 +5819,7 @@ if test "$_dvdread_internal" = auto ; then
|| darwin || win32 || os2; then
_dvdread_internal=yes
_dvdread=yes
- extra_cflags="$extra_cflags -Ilibdvdread4"
+ extra_cflags="-Ilibdvdread4 $extra_cflags"
fi
elif test "$_dvdread" = auto ; then
_dvdread=no
@@ -5830,15 +5832,15 @@ elif test "$_dvdread" = auto ; then
#include <dvdread/nav_read.h>
int main(void) { return 0; }
EOF
- fi
- _dvdreadcflags=$($_dvdreadconfig --cflags)
- _dvdreadlibs=$($_dvdreadconfig --libs)
- if cc_check -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \
- $_dvdreadcflags $_dvdreadlibs $_ld_dl ; then
- _dvdread=yes
- extra_cflags="$extra_cflags $_dvdreadcflags"
- extra_ldflags="$extra_ldflags $_dvdreadlibs"
- _res_comment="external"
+ _dvdreadcflags=$($_dvdreadconfig --cflags)
+ _dvdreadlibs=$($_dvdreadconfig --libs)
+ if cc_check -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \
+ $_dvdreadcflags $_dvdreadlibs $_ld_dl ; then
+ _dvdread=yes
+ extra_cflags="$extra_cflags $_dvdreadcflags"
+ extra_ldflags="$extra_ldflags $_dvdreadlibs"
+ _res_comment="external"
+ fi
fi
fi
@@ -7378,6 +7380,7 @@ else
_libavencoders="MPEG1VIDEO_ENCODER SNOW_ENCODER"
test "$_zlib" = yes && _libavencoders="$_libavencoders PNG_ENCODER"
_libavmuxers=""
+ def_muxers='#define CONFIG_MUXERS 0'
fi
echores "$_mencoder"
@@ -8838,6 +8841,7 @@ $def_memalign_hack
$def_mlib
$def_mkstemp
$def_posix_memalign
+$def_ppc64
$def_pthreads
$def_ten_operands
$def_threads
diff --git a/libmpcodecs/vf_zrmjpeg.c b/libmpcodecs/vf_zrmjpeg.c
index 48b954ea80..4e33409585 100644
--- a/libmpcodecs/vf_zrmjpeg.c
+++ b/libmpcodecs/vf_zrmjpeg.c
@@ -505,6 +505,8 @@ static jpeg_enc_t *jpeg_enc_init(int w, int h, int y_rsize,
// Which DCT method to use. AUTO will select the fastest one
j->s->avctx->dct_algo = FF_DCT_AUTO;
j->s->intra_quant_bias= 1<<(QUANT_BIAS_SHIFT-1); //(a + x/2)/x
+ // indicate we 'decode' to jpeg 4:2:2
+ j->s->avctx->pix_fmt = PIX_FMT_YUVJ422P;
j->s->avctx->thread_count = 1;
diff --git a/libmpdemux/asf.h b/libmpdemux/asf.h
index 1e6210e603..b97089bc15 100644
--- a/libmpdemux/asf.h
+++ b/libmpdemux/asf.h
@@ -1,3 +1,21 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
#ifndef MPLAYER_ASF_H
#define MPLAYER_ASF_H
diff --git a/libmpdemux/asfheader.c b/libmpdemux/asfheader.c
index 93f47877bc..c08ed17064 100644
--- a/libmpdemux/asfheader.c
+++ b/libmpdemux/asfheader.c
@@ -1,5 +1,22 @@
-// .asf fileformat docs from http://divx.euro.ru
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+// .asf fileformat docs from http://divx.euro.ru
#include <stdio.h>
#include <stdlib.h>
diff --git a/libmpdemux/aviheader.c b/libmpdemux/aviheader.c
index 516da9d0f8..3657e914b2 100644
--- a/libmpdemux/aviheader.c
+++ b/libmpdemux/aviheader.c
@@ -1,3 +1,20 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#include <stdio.h>
#include <stdlib.h>
diff --git a/libmpdemux/aviheader.h b/libmpdemux/aviheader.h
index 2fd81d248a..66acc8fc3d 100644
--- a/libmpdemux/aviheader.h
+++ b/libmpdemux/aviheader.h
@@ -1,3 +1,21 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
#ifndef MPLAYER_AVIHEADER_H
#define MPLAYER_AVIHEADER_H
diff --git a/libmpdemux/aviprint.c b/libmpdemux/aviprint.c
index 35af2ffbdf..00461f6c9f 100644
--- a/libmpdemux/aviprint.c
+++ b/libmpdemux/aviprint.c
@@ -1,3 +1,20 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#include <stdio.h>
#include <stdlib.h>
diff --git a/libmpdemux/demux_aac.c b/libmpdemux/demux_aac.c
index 88d9204615..ee9f1e935e 100644
--- a/libmpdemux/demux_aac.c
+++ b/libmpdemux/demux_aac.c
@@ -1,3 +1,21 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/libmpdemux/demux_asf.c b/libmpdemux/demux_asf.c
index b8be24f965..297c2018cb 100644
--- a/libmpdemux/demux_asf.c
+++ b/libmpdemux/demux_asf.c
@@ -1,4 +1,23 @@
-// ASF file parser for DEMUXER v0.3 by A'rpi/ESP-team
+/*
+ * ASF file parser for DEMUXER v0.3
+ * copyright (c) 2001 A'rpi/ESP-team
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#include <stdio.h>
#include <stdlib.h>
diff --git a/libmpdemux/demux_audio.c b/libmpdemux/demux_audio.c
index d374e3d130..da395fb611 100644
--- a/