summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2004-07-11 17:04:08 +0000
committerMarinus Schraal <foser@gentoo.org>2004-07-11 17:04:08 +0000
commit18ecdffbc89fa7d13a872c0352d5e3968eed7ebe (patch)
tree546e8e5b1cf60b0b66c5d3eae1831b4ad29dacb3 /media-plugins/gst-plugins-alsa/files
parentversionbump (Manifest recommit) (diff)
downloadgentoo-2-18ecdffbc89fa7d13a872c0352d5e3968eed7ebe.tar.gz
gentoo-2-18ecdffbc89fa7d13a872c0352d5e3968eed7ebe.tar.bz2
gentoo-2-18ecdffbc89fa7d13a872c0352d5e3968eed7ebe.zip
add seeking fix
Diffstat (limited to 'media-plugins/gst-plugins-alsa/files')
-rw-r--r--media-plugins/gst-plugins-alsa/files/digest-gst-plugins-alsa-0.8.01
-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.patch19
3 files changed, 19 insertions, 1 deletions
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!");