Commit Graph

228 Commits

Author SHA1 Message Date
naddy
dd8e5c9eef Switch default CD/DVD device to /dev/rcd0c because rcd0a doesn't work for
audio CDs.  Document the device in the man page.  ok biorn@
2009-02-08 20:25:09 +00:00
sthen
861090a2f7 - SECURITY; fix http://www.trapkit.de/advisories/TKADV2009-004.txt
for the internal ffmpeg.  From Brad.

- sync WANTLIB (gio)
2009-01-29 17:28:13 +00:00
jakemsr
c7929be36a - remove artsd and esd support and related patches
- update DESCR to reflect reality
2009-01-16 02:39:53 +00:00
ratchov
c8c58e1ab4 set ``appbufsz'' to the required buffer size, rather than setting
``bufsz'' which is deprecated and doesn't work in all cases. This
allows mplayer to work without underruns whatever the the buffer
size used by aucat is.

set the block size to 10ms, otherwise depending on the defaults,
the blocksize may be too large for mplayer, causing video to
stutter.

move "-ao libsndio" to "-ao sndio", suggested by naddy@

ok naddy@
2008-12-28 19:09:13 +00:00
naddy
5d595b79bd SECURITY:
Fix for stack buffer overflow vulnerability while parsing malformed
TwinVQ media files.  From upstream SVN.  ok biorn@
2008-12-15 21:30:07 +00:00
ratchov
fabfe9bde3 add missing license in the sndio backend (from license.template)
suggested and ok brad@
2008-11-02 14:45:40 +00:00
jakemsr
c20c1f3963 * tweak previous: always keep frame alignment
* if the sample rate returned in sio_getpar is within 3% of the rate
  requested in sio_setpar, tell mplayer we're using the requested
  rate so it doesn't try to resample.  however, use the returned
  sample rate to calculate bitrate, so A/V sync continues to work.
* use a variable to represent bytes per frame
* remove unused variables

ok ratchov@
2008-11-01 12:03:41 +00:00
jakemsr
468c026a90 work around what appears to be a bug in mplayer.
ok ratchov@
2008-10-31 07:12:45 +00:00
ratchov
65bd1c865f add libsndio backend to mplayer
ok sthen@
2008-10-30 18:33:42 +00:00
ajacoutot
1f3f66e311 - add the jack FLAVOR to DESCR
- bump
2008-10-11 11:07:32 +00:00
naddy
7b8a6ade2a SECURITY fix for Real demuxer heap overflow (CVE-2008-3827).
ok biorn@, robert@
2008-10-01 16:01:51 +00:00
jakemsr
8a039dc0a7 - simpler faad related patching
- in MESSAGE, end sentence with a period
- bump PKGNAME

ok brad@
2008-09-15 22:13:02 +00:00
brad
2290578106 Enable V4L2 input support.
.e.g. mplayer tv:// -tv driver=v4l2:device=/dev/video0

ok robert@
2008-09-03 12:20:52 +00:00
jakemsr
f0e6e48090 * stop mplayer from picking up installed FFmpeg headers
* update WANTLIB
* add @bin markers
* bump PKGNAME

feedback/ok brad@
2008-07-09 02:19:36 +00:00
sthen
206adb4748 fix the test for jack in configure, so that --disable-jack is
correctly honoured. unbreaks bulk build packages.

ok jakemsr
2008-05-01 13:52:19 +00:00
jakemsr
5f5750a4da add jack support as a FLAVOR
"no objections" MAINTAINER
2008-04-16 01:43:12 +00:00
fgsch
3e4a910d69 fix tremor on archs where sizeof(int) != sizeof(int *) by adding the missing
prototypes. fix from mplayer svn via biorn@ (maintainer).
2008-03-30 20:39:41 +00:00
fgsch
d29d0487b6 no need for lame's no_x11 flavor anymore. 2008-03-25 17:29:57 +00:00
jasper
56745f5ada - explicitly disable libcdio, it can always later be enabled.
ok biorn@ (MAINTAINER)
2008-03-19 22:35:35 +00:00
espie
4826675824 very sloppy update, restore realplayer support 2008-02-18 16:37:38 +00:00
mglocker
36bb204cd3 Add Copyright to file.
as discussed with jakemsr@
2008-02-12 13:42:35 +00:00
jakemsr
a635a0e257 add support for librtunes-0.7. this allows one to stream audio output
from mplayer to AirPort Express devices.  supports both IPv4 and IPv6.

example:

$ mplayer -ao rtunes:device=192.168.0.10:af=inet music.mp3

requested/tested/ok mglocker@ (librtunes author)
2008-02-12 11:33:16 +00:00
jakemsr
785ec1fe86 security patches for
- buffer overflow in stream_cddb.c
- buffer overflow in url.c
- buffer overflow in demux_mov.c
- stack overflow in demux_audio.c

from brad@, ok maintainer

also remove reference to rtunes_ao.diff from distinfo.  this patch is
not used now because it does not apply.
2008-02-11 00:22:03 +00:00
jakemsr
d11f853ac6 maintenence update to mplayer-1.0rc2
ok biorn@ (MAINTAINER), ajacoutot@, brad@
2008-02-08 17:32:41 +00:00
jakemsr
2bcfc1e21d - quit using select() for audio playback. we end up counting bytes
in the playback buffer and waiting until there's enough space anyway.
- use -pthread instead of -lpthread for pthreads linkage
- don't even try to use the "real time sample counter" on *BSD, since
it's not that same as with Sun audio.
- use the audio(4) interface to the mixer "master" volume control
- actually mute the audio when output volume is '0'
- set the audio(4) blocksize to match size of chunks to be written
- provide *BSD equivilents to some Sun functionality
2007-11-15 07:50:27 +00:00
ajacoutot
a922a320c5 - add a workaround to prevent mencoder crashing in several places
ok biorn@ (maintainer)
2007-11-12 07:08:24 +00:00
ajacoutot
0db4f8ce20 - fix WANTLIB and lowercase COMMENT 2007-11-09 15:49:12 +00:00
merdely
d0e220d33a Remove surrounding quotes in COMMENT/PERMIT_*/BROKEN 2007-09-15 20:04:18 +00:00
robert
fe103f439d fix a buffer overflow in mplayer's CDDB parsing code;
http://secunia.com/advisories/24302/

from Brad
2007-06-07 07:28:36 +00:00
kili
2aef0a40ea WANTLIB fix (Xcursor Xfixes Xi Xrandr).
Veryfied by bernd@ with a recent xenocara.
2007-04-28 11:09:51 +00:00
ajacoutot
c2b0a0cb83 - add live555 support
- regen patches while here

from brad
ok robert@
2007-04-19 08:37:09 +00:00
robert
88d299f7f1 - Fix heap overflow in DMO loader. (CVE-2007-1246)
- regen patches while here

pulled from MPlayer SVN by Brad <brad@comstyle.com>
2007-04-13 23:13:21 +00:00
ajacoutot
ddf8a134fa - add support for x264
- regen patches while here

"go for it" naddy@
2007-04-08 17:33:39 +00:00
espie
be99f23aa5 more base64 checksums 2007-04-05 17:36:18 +00:00
kili
2aec64c7b5 Fix WANTLIB (+Xau Xdmcp expat).
Adjust MODULES (converters/libiconv for no_x11, devel/gettext else)
and drop intl from WANTLIB (spotted by ajacoutot@).

ok, ajacoutot
2007-04-05 16:20:02 +00:00
biorn
371ff302d7 mplayer uses an internal vorbis so LIB_DEPEND on ogg instead of vorbis.
Noted by Moritz Grimm.

Add SHA256.

ok sturm@
2007-02-15 11:49:03 +00:00
biorn
96436eb1c8 Put rtunes in BUILD_DEPENDS rather than LIB_DEPENDS, noted
by Moritz Grimm, and fix WANTLIB.

ok sturm@, espie@, mglocker@
2007-02-12 14:47:11 +00:00
mglocker
68740a07ef Add rtunes support via the Audio Output (-ao) interface. This makes
mplayer capable to stream audio to the Airport Express device.

help and ok robert@ mbalmer@ Bjorn Sandell
2007-02-08 18:58:22 +00:00
espie
df6efb0282 enable xvidcore
tweak default dvd device to match OpenBSD.
2007-01-22 15:04:04 +00:00
steven
26f5ae54bd fix WANTLIB of ports using gtk, needed after switch to our own pkg-config 2007-01-04 20:19:53 +00:00
robert
26c85981d5 fix a buffer overflow found in the code used to handle RealMedia RTSP
streams by applying the patches provided by the MPlayer team;

from Brad <brad@comstyle.com>
2007-01-02 09:01:58 +00:00
pvalchev
70d6e270c0 switch skins master site to MASTER_SITE_BACKUP since we carry that
distfile now.  no change in pkg.
2006-12-28 02:23:17 +00:00
espie
0f5dc96ea1 say goodbye to GNU land. 2006-12-16 12:22:32 +00:00
robert
5bdb5fc842 Using the mad and no_x11 flavors together is not a nonsense combination.
This change also fixes the builds on arm because there the mad flavor
is on by default.
2006-11-29 19:49:33 +00:00
steven
d8c1bd40c1 convert to new lib specs.
spotted by Matthias Kilian <kili at outback.escape.de>
2006-09-25 17:11:37 +00:00
espie
f63e804b78 zap .0.0 2006-09-18 12:19:39 +00:00
biorn
76637ed9ac Bring back CPU extentions on amd64.
"lock ok" sturm@
2006-08-16 15:17:15 +00:00
biorn
ffab7ac294 - bring back internal tremor
- aviod picking up audio/faac

ok sturm@ pvalchev@
2006-08-09 08:15:24 +00:00
alek
8bea8bc5f2 - Don't pickup audio/tremor if it's installed as mplayer doesn't build
with it; from Frank Denis <obsd-ports@pureftpd.org>
- Add audio/libvoribs do LIB_DEPENDS as it's being used
2006-08-02 08:24:34 +00:00
robert
59001cbfbf update to versio 1.0pre8; include the speex and mpcdec codecs by default;
this version of mplayer now uses gtk2;

ok biorn@ and tested by many
2006-07-19 21:40:47 +00:00
biorn
ab106edf48 Protect from integer overflows. See CVE-2006-1502 2006-04-06 21:47:43 +00:00
biorn
472654946c Fix a potential buffer overflow in the ASF demuxer.
ok pvalchev@
2006-02-23 11:34:54 +00:00
biorn
a70bd55dd7 Add support for
- version 2 audio atoms in QuickTime containers, from mplayer cvs requested by
   David Hill (dhill at mindcry org)
- setting volumem via /dev/mixer, from Mike Belopuhov (mkb at crypt org ru)
2006-01-22 06:28:25 +00:00
jakemsr
cc53e054b2 enable bktr(4) support, and enhance the bktr(4) support by:
- adding support for setting the channel set
- making it use audio(4) instead of ossaudio(3)
- making it explicitly mute the tuner on exit
- use the tuner as default video source, as opposed to RCA

ok biorn@, robert@
2006-01-17 07:41:58 +00:00
fgsch
05be7b910f we don't have USER_LDT anymore; talk about machdep.userldt instead.
maintainer ok
2005-12-28 15:22:35 +00:00
biorn
6a664a3a92 Fix breakage in internal faad2 detection. Noted by jolan@ 2005-11-23 00:05:39 +00:00
espie
dab83dc1f0 continue gracefully if we don't manage to find an audio stream in some
cases.
2005-10-16 21:29:30 +00:00
espie
a50d545ff2 copy aspect ratio over if we have it. 2005-10-10 15:37:24 +00:00
espie
7a7d9e645d the combination of unaligned acces and inline swap32 does not work on
i386. This fixes at least two videos for me...
2005-10-01 13:40:35 +00:00
fgsch
b412403b9c fix a crash when playing some wmv files; maintainer ok. 2005-09-08 16:35:00 +00:00
espie
6906deb604 fix a few more obvious coredumps and bad dereferences. 2005-09-04 23:51:51 +00:00
biorn
66966fa462 Fix a potential heap overflow when playing uncompressed pcm audio.
ok pvalchev@
2005-08-29 06:53:54 +00:00
espie
d36666f229 Two bug-fixes.
- allows realmedia streams to work.
- fix af resample=wrongvalue.

Okay pvalchev@
2005-08-27 21:11:49 +00:00
espie
957b96a95f the linux realmedia codec can't work: our dlopen won't load them correctly.
More annoyingly, it abort()s the current process (thanks dale),
so comment them out, add the win32 codecs, and use them instead.

For some strange reason, the audio codec insists on being launched
from its own directory.

With this change, realmedia playing works.

okay sturm@, okay pvalchev@
2005-08-12 22:59:15 +00:00
robert
dd77ea6520 Disalble the internal mp3lib (mpg123) on arm, because it relies on the FPU.
Instead of using that let's enable the mad flavor by default on this arch.
This way you can watch movies on the Zaurus. A little description is added
to the DESCR file for people who want to use mplayer on the Zaurus.
2005-08-04 22:43:18 +00:00
biorn
5622693947 Depend on no_x11 flavors of lame and aalib when building with FLAVOR=no_x11
With help from sturm@ and espie@
2005-07-27 11:56:01 +00:00
biorn
50bd77a890 theora seems to be popular these days, so enable it. 2005-07-25 17:10:09 +00:00
espie
cfec340a83 make really really sure we don't get tremor includes from an installed
tremor port.
2005-06-11 14:03:17 +00:00
pvalchev
db5bd865a3 recognise zaurus/cats (not the most elegant way but least intrusive now) 2005-05-27 04:33:06 +00:00
pvalchev
db15b80605 sync 2005-05-27 04:31:51 +00:00
biorn
093049d8da unbreak aa FLAVOR. Found and tested by Matthias Kilian 2005-05-13 16:14:00 +00:00
biorn
f5271b838d Update to 1.0pre7
Don't depend on ogg/vorbis as it's built in now
Put fontconfig and freetype in WANTLIB and BUILD_DEPEND on pkgconfig if
 FLAVOR is not no_x11.
2005-05-09 12:24:38 +00:00
pvalchev
8077758448 change x86_64->amd64 now; from biorn 2005-04-09 22:06:19 +00:00
biorn
1d0de42f06 - Make amd64 use MMX and friends. Tested by niallo and naddy.
- Avoid picking up libdv and libsmb

Looks fine, naddy@
2005-04-01 06:28:57 +00:00
pvalchev
ebc59d0d2f this was reported to work on zaurus; enable 2005-03-27 04:10:51 +00:00
biorn
81fe59a382 Avoid picking up the xvidcore library
Bump PKGNAME

From espie@, ok pvalchev@
2005-03-16 12:33:35 +00:00
db
0925c3a284 typo and wording fixes; approved by pval
ok mbalmer@ "that diff was fun to read"
2005-03-15 01:57:02 +00:00
biorn
abd23476d9 Finally take it to 1.0pre6a
Prodded by espi@, ok sturm@
2005-03-09 16:07:29 +00:00
biorn
72701a1d1e fix LIB_DEPENDS
prod and ok naddy@
2005-01-06 21:33:28 +00:00
naddy
2492803fcd SIZE 2005-01-05 17:53:50 +00:00
biorn
8d2742283d Security: Upgrade to 1.0pre5try2 (see http://www.mplayerhq.hu/)
Also unbreak arts FLAVOR (from Stephan Tesch) and fix up DESCR
(from Michael Knudsen and joshua stein).

ok sturm@
2004-12-22 22:22:13 +00:00
alek
5a4cdaba58 Add WANTLIB markers 2004-12-19 12:56:26 +00:00
biorn
b718e5ab1f update to 1.0pre5
ok pvalchev@
2004-10-18 06:48:08 +00:00
espie
4c6f632c64 new style plists 2004-09-15 19:26:27 +00:00
naddy
ead93c472a Create configuration directory, so that sample conf files will be installed.
From: Bjorn Sandell <biorn@dce.chalmers.se>
2004-08-20 15:22:32 +00:00
espie
6e7c776dbf more new plists. 2004-08-09 11:09:10 +00:00
espie
d085510a75 new-style PLIST 2004-08-05 12:29:30 +00:00
robert
9611ab19cb SECURITY:
The added distribution patch fixes several vulnerabilities in MPlayer's GUI.
http://www.mplayerhq.hu/homepage/design7/news.html

ok biorn@
2004-07-03 02:10:26 +00:00
naddy
0d43a99571 unbreak 2004-06-22 20:34:09 +00:00
brad
77638ea326 - disable the Vidix support
- instead of passing --target for powerpc just make the configure
script recognize macppc as another name for a powerpc system

ok MAINTAINER
2004-06-22 08:13:11 +00:00
brad
f871528e51 don't try to use AltiVec if gcc3 is detected since gcc3 (3.3.x) has broken
AltiVec support.
2004-06-15 02:19:56 +00:00
biorn
7a365f9f2c Take it to 1.0pre4
ok brad@
2004-05-06 07:27:36 +00:00
sturm
814d39c591 don't run ldconfig when faking, noticed by systrace
ok maintainer biorn@
2004-05-01 18:43:43 +00:00
biorn
c5629968df Plug remote buffer overflow and bump PKGNAME 2004-03-30 21:05:57 +00:00
pvalchev
b07efd2f2f enable runtime cpu detection by default; tested and ok'ed by many 2004-03-15 22:42:28 +00:00
avsm
a7f1ff3d04 support amd64, ok and tweaks maintainer, pvalchev@ 2004-03-04 12:57:45 +00:00
david
7a1e80441f audio/mad -> audio/libmad
ok biorn@
2004-02-26 06:57:21 +00:00
biorn
de7404678d Keeping up with -current. Ok pvalchev@ 2004-01-03 10:10:47 +00:00
biorn
3c9e5b5e7e Update to 1.0pre3
Ok espie@ pvalchev@
2003-12-16 17:17:14 +00:00
biorn
5eb7fc01c1 pasto, from Jared Yanovich
ok pvalchev@
2003-12-16 16:35:03 +00:00