diff options
author | Marinus Schraal <foser@gentoo.org> | 2004-07-11 17:04:08 +0000 |
---|---|---|
committer | Marinus Schraal <foser@gentoo.org> | 2004-07-11 17:04:08 +0000 |
commit | 18ecdffbc89fa7d13a872c0352d5e3968eed7ebe (patch) | |
tree | 546e8e5b1cf60b0b66c5d3eae1831b4ad29dacb3 /media-plugins/gst-plugins-alsa | |
parent | versionbump (Manifest recommit) (diff) | |
download | gentoo-2-18ecdffbc89fa7d13a872c0352d5e3968eed7ebe.tar.gz gentoo-2-18ecdffbc89fa7d13a872c0352d5e3968eed7ebe.tar.bz2 gentoo-2-18ecdffbc89fa7d13a872c0352d5e3968eed7ebe.zip |
add seeking fix
Diffstat (limited to 'media-plugins/gst-plugins-alsa')
-rw-r--r-- | media-plugins/gst-plugins-alsa/ChangeLog | 7 | ||||
-rw-r--r-- | media-plugins/gst-plugins-alsa/Manifest | 3 | ||||
-rw-r--r-- | media-plugins/gst-plugins-alsa/files/digest-gst-plugins-alsa-0.8.0 | 1 | ||||
-rw-r--r-- | media-plugins/gst-plugins-alsa/files/digest-gst-plugins-alsa-0.8.2-r1 (renamed from media-plugins/gst-plugins-alsa/files/digest-gst-plugins-alsa-0.8.2) | 0 | ||||
-rw-r--r-- | media-plugins/gst-plugins-alsa/files/gst-plugins-alsa-0.8.2-alsasink_seek_fix.patch | 19 | ||||
-rw-r--r-- | media-plugins/gst-plugins-alsa/gst-plugins-alsa-0.8.0.ebuild | 19 | ||||
-rw-r--r-- | media-plugins/gst-plugins-alsa/gst-plugins-alsa-0.8.2-r1.ebuild (renamed from media-plugins/gst-plugins-alsa/gst-plugins-alsa-0.8.2.ebuild) | 11 |
7 files changed, 38 insertions, 22 deletions
diff --git a/media-plugins/gst-plugins-alsa/ChangeLog b/media-plugins/gst-plugins-alsa/ChangeLog index ef6d034a8770..b5b5059c782f 100644 --- a/media-plugins/gst-plugins-alsa/ChangeLog +++ b/media-plugins/gst-plugins-alsa/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-plugins/gst-plugins-alsa # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-alsa/ChangeLog,v 1.10 2004/06/29 16:12:56 foser Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-alsa/ChangeLog,v 1.11 2004/07/11 17:04:08 foser Exp $ + +*gst-plugins-alsa-0.8.2-r1 (11 Jul 2004) + + 11 Jul 2004; foser <foser@gentoo.org> gst-plugins-alsa-0.8.2-r.ebuild : + Add patch to fix alsa seeking (#56215) *gst-plugins-alsa-0.8.2 (29 Jun 2004) diff --git a/media-plugins/gst-plugins-alsa/Manifest b/media-plugins/gst-plugins-alsa/Manifest index 081603b343f3..6871767080bf 100644 --- a/media-plugins/gst-plugins-alsa/Manifest +++ b/media-plugins/gst-plugins-alsa/Manifest @@ -1,8 +1,11 @@ MD5 63dd9721e7d3bd5f591151e69990e284 gst-plugins-alsa-0.8.2.ebuild 507 MD5 028df1e33ac0ea3086a7aacf12a73fe1 gst-plugins-alsa-0.8.1.ebuild 506 +MD5 85e1e5f662cdc6ab58ceb64719c9eb2e gst-plugins-alsa-0.8.2-r1.ebuild 642 MD5 33c42655fcfa95254718bb6ff7aa475b gst-plugins-alsa-0.8.0.ebuild 509 MD5 60da0fd5f9a32bd4642a5bb5970c0cae ChangeLog 1255 MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158 MD5 fb236b39268cb180039f970fab62e27a files/digest-gst-plugins-alsa-0.8.0 71 MD5 d454a981aba7bfc51b76556d18ef0357 files/digest-gst-plugins-alsa-0.8.1 71 MD5 fdc36508749cec2850c94b4bff5cc0a2 files/digest-gst-plugins-alsa-0.8.2 71 +MD5 fdc36508749cec2850c94b4bff5cc0a2 files/digest-gst-plugins-alsa-0.8.2-r1 71 +MD5 41606d2ca893d5ca7b2bb16b7ef3fef0 files/gst-plugins-alsa-0.8.2-alsasink_seek_fix.patch 1274 diff --git a/media-plugins/gst-plugins-alsa/files/digest-gst-plugins-alsa-0.8.0 b/media-plugins/gst-plugins-alsa/files/digest-gst-plugins-alsa-0.8.0 deleted file mode 100644 index f759a94352d1..000000000000 --- a/media-plugins/gst-plugins-alsa/files/digest-gst-plugins-alsa-0.8.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 3735f701a25a37ed0b1ec6f3d861a658 gst-plugins-0.8.0.tar.bz2 1751685 diff --git a/media-plugins/gst-plugins-alsa/files/digest-gst-plugins-alsa-0.8.2 b/media-plugins/gst-plugins-alsa/files/digest-gst-plugins-alsa-0.8.2-r1 index 48658f359186..48658f359186 100644 --- a/media-plugins/gst-plugins-alsa/files/digest-gst-plugins-alsa-0.8.2 +++ b/media-plugins/gst-plugins-alsa/files/digest-gst-plugins-alsa-0.8.2-r1 diff --git a/media-plugins/gst-plugins-alsa/files/gst-plugins-alsa-0.8.2-alsasink_seek_fix.patch b/media-plugins/gst-plugins-alsa/files/gst-plugins-alsa-0.8.2-alsasink_seek_fix.patch new file mode 100644 index 000000000000..7b953c062d10 --- /dev/null +++ b/media-plugins/gst-plugins-alsa/files/gst-plugins-alsa-0.8.2-alsasink_seek_fix.patch @@ -0,0 +1,19 @@ +diff -urN gst-plugins-0.8.2/ext/alsa/gstalsasink.c gst-plugins-0.8.2-alsasink_seek_fix/ext/alsa/gstalsasink.c +--- gst-plugins-0.8.2/ext/alsa/gstalsasink.c 2004-06-23 06:19:48.000000000 -0700 ++++ gst-plugins-0.8.2-alsasink_seek_fix/ext/alsa/gstalsasink.c 2004-07-06 02:33:35.000000000 -0700 +@@ -220,13 +220,13 @@ + GST_SECOND * this->transmitted / this->format->rate - + gst_alsa_sink_get_time (this); + if (gst_event_discont_get_value (event, GST_FORMAT_TIME, &value)) { +- gst_element_set_time_delay (GST_ELEMENT (this), MIN (value, delay), delay); ++ gst_element_set_time_delay (GST_ELEMENT (this), value, MIN (value, delay)); + } else if (this->format && + (gst_event_discont_get_value (event, GST_FORMAT_DEFAULT, &value) || + gst_event_discont_get_value (event, GST_FORMAT_BYTES, + &value))) { + value = gst_alsa_samples_to_timestamp (this, value); +- gst_element_set_time_delay (GST_ELEMENT (this), MIN (value, delay), delay); ++ gst_element_set_time_delay (GST_ELEMENT (this), value, MIN (value, delay)); + } else { + GST_WARNING_OBJECT (this, + "couldn't extract time from discont event. Bad things might happen!"); diff --git a/media-plugins/gst-plugins-alsa/gst-plugins-alsa-0.8.0.ebuild b/media-plugins/gst-plugins-alsa/gst-plugins-alsa-0.8.0.ebuild deleted file mode 100644 index ecd61b4b9c5d..000000000000 --- a/media-plugins/gst-plugins-alsa/gst-plugins-alsa-0.8.0.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-alsa/gst-plugins-alsa-0.8.0.ebuild,v 1.8 2004/06/24 23:28:37 agriffis Exp $ - -inherit gst-plugins - -KEYWORDS="~x86 ~ppc amd64 ~ia64 ~mips" - -IUSE="" -# should we depend on a kernel (?) -DEPEND=">=media-libs/alsa-lib-0.9.1" - -pkg_postinst() { - - gst-plugins_pkg_postinst - - ewarn "This plugin has known problems on some hardware due to alsa bugs" - -} diff --git a/media-plugins/gst-plugins-alsa/gst-plugins-alsa-0.8.2.ebuild b/media-plugins/gst-plugins-alsa/gst-plugins-alsa-0.8.2-r1.ebuild index da29b60d9133..7f3a4ab15616 100644 --- a/media-plugins/gst-plugins-alsa/gst-plugins-alsa-0.8.2.ebuild +++ b/media-plugins/gst-plugins-alsa/gst-plugins-alsa-0.8.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-alsa/gst-plugins-alsa-0.8.2.ebuild,v 1.1 2004/06/29 16:12:56 foser Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-alsa/gst-plugins-alsa-0.8.2-r1.ebuild,v 1.1 2004/07/11 17:04:08 foser Exp $ inherit gst-plugins @@ -10,6 +10,15 @@ IUSE="" # should we depend on a kernel (?) DEPEND=">=media-libs/alsa-lib-0.9.1" +src_unpack() { + + gst-plugins_src_unpack + + # fixes alsa seek/drag problem (#56215) + epatch ${FILESDIR}/${P}-alsasink_seek_fix.patch + +} + pkg_postinst() { gst-plugins_pkg_postinst |