Commit Graph

174 Commits

Author SHA1 Message Date
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