1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

multimedia/(mplayer|mencoder): Update to upstream snapshot 2021-07-03.

MFH:		2021Q3
This commit is contained in:
Thomas Zander 2021-07-04 12:53:23 +02:00
parent 0e1cf83190
commit 56f8f0ac2a
No known key found for this signature in database
GPG Key ID: 856D8ED47C7EAFA5
6 changed files with 11 additions and 16 deletions

View File

@ -2,7 +2,6 @@
PORTNAME= mencoder
PORTVERSION= ${MPLAYER_PORT_VERSION}.${MPLAYER_SNAPSHOT_DATE:S/-//g}
PORTREVISION= 1
CATEGORIES= multimedia audio
MAINTAINER= riggs@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1615850499
SHA256 (mplayer-1.4.0.20210314.tar.xz) = 7709f988fadcd24c00cc27b8c2d775dbb2e75e6b8bdc682b13ae6b66cc0a5174
SIZE (mplayer-1.4.0.20210314.tar.xz) = 5194236
TIMESTAMP = 1625393918
SHA256 (mplayer-1.4.0.20210703.tar.xz) = 7c81c590215436d2365b98324e3903e92958722e06eb7ebc9f20192e8a99a6ab
SIZE (mplayer-1.4.0.20210703.tar.xz) = 5195192

View File

@ -2,7 +2,6 @@
PORTNAME= mplayer
PORTVERSION= ${MPLAYER_PORT_VERSION}.${MPLAYER_SNAPSHOT_DATE:S/-//g}
PORTREVISION= 1
CATEGORIES= multimedia audio
MAINTAINER= riggs@FreeBSD.org

View File

@ -3,7 +3,7 @@
# before we include bsd.port.pre.mk
MPLAYER_PORT_VERSION= 1.4.0
MPLAYER_SNAPSHOT_DATE= 2021-03-14
MPLAYER_SNAPSHOT_DATE= 2021-07-03
MASTER_SITES= LOCAL/riggs/mplayer
DISTNAME= mplayer-${MPLAYER_PORT_VERSION}.${MPLAYER_SNAPSHOT_DATE:S/-//g}
WRKSRC= ${WRKDIR}/mplayer-export-${MPLAYER_SNAPSHOT_DATE}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1615840634
SHA256 (mplayer-1.4.0.20210314.tar.xz) = 7709f988fadcd24c00cc27b8c2d775dbb2e75e6b8bdc682b13ae6b66cc0a5174
SIZE (mplayer-1.4.0.20210314.tar.xz) = 5194236
TIMESTAMP = 1625328221
SHA256 (mplayer-1.4.0.20210703.tar.xz) = 7c81c590215436d2365b98324e3903e92958722e06eb7ebc9f20192e8a99a6ab
SIZE (mplayer-1.4.0.20210703.tar.xz) = 5195192

View File

@ -1,4 +1,4 @@
--- libao2/ao_oss.c.orig 2016-02-26 20:47:16 UTC
--- libao2/ao_oss.c.orig 2021-04-15 19:26:53 UTC
+++ libao2/ao_oss.c
@@ -57,6 +57,8 @@ static const ao_info_t info =
""
@ -129,13 +129,10 @@
oss_format = format2oss(ao_data.format);
if(AF_FORMAT_IS_AC3(ao_data.format))
fail |= ioctl (audio_fd, SNDCTL_DSP_SPEED, &ao_data.samplerate) == -1;
@@ -467,14 +543,15 @@ static void reset(void){
int c = ao_data.channels-1;
fail |= ioctl (audio_fd, SNDCTL_DSP_STEREO, &c) == -1;
}
- fail |= ioctl (audio_fd, SNDCTL_DSP_SPEED, &ao_data.samplerate) == -1;
@@ -471,11 +547,14 @@ static void reset(void){
}
- mp_msg(MSGT_AO,MSGL_WARN, "OSS: Reset failed\n");
if (fail)
mp_msg(MSGT_AO,MSGL_WARN, "OSS: Reset failed\n");
+ setfragment(audio_fd);
+ restorevol();
}