summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/gst-plugins/distinfo3
-rw-r--r--multimedia/gst-plugins/patches/patch-ab22
2 files changed, 24 insertions, 1 deletions
diff --git a/multimedia/gst-plugins/distinfo b/multimedia/gst-plugins/distinfo
index a5d9234480c..9cdf007a376 100644
--- a/multimedia/gst-plugins/distinfo
+++ b/multimedia/gst-plugins/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.14 2005/01/06 11:25:10 jmmv Exp $
+$NetBSD: distinfo,v 1.15 2005/01/16 22:54:37 kristerw Exp $
SHA1 (gst-plugins-0.8.7.tar.bz2) = fbfb1a23ef805e58f5617649590d065440470628
Size (gst-plugins-0.8.7.tar.bz2) = 2134878 bytes
SHA1 (patch-aa) = c9173d53f594236f114cb5356aca79f41e13240b
+SHA1 (patch-ab) = f7e6c495ebcddb49f9e01ff6de36ed11c6d98dd5
SHA1 (patch-ae) = d51997b93689753fa0a34eec21ac14dc22af7500
diff --git a/multimedia/gst-plugins/patches/patch-ab b/multimedia/gst-plugins/patches/patch-ab
new file mode 100644
index 00000000000..2d11dad5fd8
--- /dev/null
+++ b/multimedia/gst-plugins/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.7 2005/01/16 22:54:37 kristerw Exp $
+
+--- gst/tta/gstttaparse.c.orig Sun Jan 16 23:27:29 2005
++++ gst/tta/gstttaparse.c Sun Jan 16 23:28:36 2005
+@@ -161,12 +161,13 @@
+ switch (GST_EVENT_TYPE (event)) {
+ case GST_EVENT_SEEK:
+ {
++ GstEvent *seek_event;
++ guint64 time, seek_frame, seekpos;
+ if (GST_EVENT_SEEK_FORMAT (event) == GST_FORMAT_TIME) {
+ GST_DEBUG_OBJECT (ttaparse, "got seek event");
+- GstEvent *seek_event;
+- guint64 time = GST_EVENT_SEEK_OFFSET (event);
+- guint64 seek_frame = time / (FRAME_TIME * 1000000000);
+- guint64 seekpos = ttaparse->index[seek_frame].pos;
++ time = GST_EVENT_SEEK_OFFSET (event);
++ seek_frame = time / (FRAME_TIME * 1000000000);
++ seekpos = ttaparse->index[seek_frame].pos;
+
+ GST_DEBUG_OBJECT (ttaparse, "seeking to %u", (guint) seekpos);
+ seek_event =