summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2003-04-19 11:42:16 +0000
committerMarinus Schraal <foser@gentoo.org>2003-04-19 11:42:16 +0000
commitd450d4c1e1e3851a8c94a08685a2e5e297869fdd (patch)
treeea5a9ceebef9717562410a9e4326c736529859c4 /media-libs/gst-plugins/files
parentnew version and cleanups (diff)
downloadhistorical-d450d4c1e1e3851a8c94a08685a2e5e297869fdd.tar.gz
historical-d450d4c1e1e3851a8c94a08685a2e5e297869fdd.tar.bz2
historical-d450d4c1e1e3851a8c94a08685a2e5e297869fdd.zip
remove old patches
Diffstat (limited to 'media-libs/gst-plugins/files')
-rw-r--r--media-libs/gst-plugins/files/gentoo-gst-0.4.2-launch.patch11
-rw-r--r--media-libs/gst-plugins/files/gst-plugins-0.4.2-never-return-on-oss-busy.patch34
-rw-r--r--media-libs/gst-plugins/files/gst-plugins-0.4.2-parallel-make-depfix.patch11
-rw-r--r--media-libs/gst-plugins/files/gst-plugins-0.4.2-wavparse-bigendian.patch114
4 files changed, 0 insertions, 170 deletions
diff --git a/media-libs/gst-plugins/files/gentoo-gst-0.4.2-launch.patch b/media-libs/gst-plugins/files/gentoo-gst-0.4.2-launch.patch
deleted file mode 100644
index c457972664eb..000000000000
--- a/media-libs/gst-plugins/files/gentoo-gst-0.4.2-launch.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- gst-plugins-0.4.2/tools/gst-launch-ext-old 2002-11-01 23:45:45.000000000 -0800
-+++ gst-plugins-0.4.2/tools/gst-launch-ext 2002-11-01 23:45:55.000000000 -0800
-@@ -15,7 +15,7 @@ sub extension
- # .tar.gz extensions do we ?
- if ($path =~ /\./)
- {
-- my $ext = $path;
-+ $ext = $path;
- $ext =~ s/^.*\.//;
- }
- else { $ext = ""; }
diff --git a/media-libs/gst-plugins/files/gst-plugins-0.4.2-never-return-on-oss-busy.patch b/media-libs/gst-plugins/files/gst-plugins-0.4.2-never-return-on-oss-busy.patch
deleted file mode 100644
index caca3019bb54..000000000000
--- a/media-libs/gst-plugins/files/gst-plugins-0.4.2-never-return-on-oss-busy.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- gst-plugins-0.4.2/sys/oss/gstosssink.c.orig 2002-12-27 18:37:40.000000000 +0200
-+++ gst-plugins-0.4.2/sys/oss/gstosssink.c 2002-12-27 18:38:56.000000000 +0200
-@@ -886,11 +886,23 @@
- GST_INFO (GST_CAT_PLUGIN_INFO, "osssink: attempting to open sound device");
-
- /* first try to open the sound card */
-+ /* FIXME: This code is dubious, why do we need to open and close this ?
-+ * For linux at least this causes the second open to never return
-+ * if the device was already in use .. */
- sink->fd = open (sink->device, O_WRONLY | O_NONBLOCK);
- if (errno == EBUSY) {
- g_warning ("osssink: unable to open the sound device (in use ?)\n");
- return FALSE;
- }
-+#ifdef __linux__
-+ else if (sink->fd >= 0) {
-+ /* remove the non-blocking flag */
-+ if(fcntl (sink->fd, F_SETFL, 0) < 0) {
-+ g_warning ("osssink: unable to make filedescriptor blocking\n");
-+ return FALSE;
-+ }
-+ }
-+#else
-
- /* re-open the sound device in blocking mode */
- close (sink->fd);
-@@ -900,6 +912,7 @@
- g_warning ("osssink: unable to open the sound device (errno=%d)\n", errno);
- return FALSE;
- }
-+#endif
-
- /* we have it, set the default parameters and go have fun */
- /* set card state */
diff --git a/media-libs/gst-plugins/files/gst-plugins-0.4.2-parallel-make-depfix.patch b/media-libs/gst-plugins/files/gst-plugins-0.4.2-parallel-make-depfix.patch
deleted file mode 100644
index ae24448780b7..000000000000
--- a/media-libs/gst-plugins/files/gst-plugins-0.4.2-parallel-make-depfix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- gst/playondemand/Makefile.in.orig 2002-12-06 18:25:37.000000000 -0600
-+++ gst/playondemand/Makefile.in 2002-12-06 18:25:53.000000000 -0600
-@@ -239,7 +239,7 @@
- am_demo_mp3_OBJECTS = demo_mp3-demo-mp3.$(OBJEXT)
- demo_mp3_OBJECTS = $(am_demo_mp3_OBJECTS)
- demo_mp3_LDADD = $(LDADD)
--demo_mp3_DEPENDENCIES =
-+demo_mp3_DEPENDENCIES = ./libgstplayondemand.la
-
- DEFS = @DEFS@
- DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
diff --git a/media-libs/gst-plugins/files/gst-plugins-0.4.2-wavparse-bigendian.patch b/media-libs/gst-plugins/files/gst-plugins-0.4.2-wavparse-bigendian.patch
deleted file mode 100644
index b33073eb0f47..000000000000
--- a/media-libs/gst-plugins/files/gst-plugins-0.4.2-wavparse-bigendian.patch
+++ /dev/null
@@ -1,114 +0,0 @@
-diff -u gst/wavparse.orig/gstriff.c gst/wavparse/gstriff.c
---- gst/wavparse.orig/gstriff.c 2002-12-07 12:45:41.000000000 -0600
-+++ gst/wavparse/gstriff.c 2002-12-07 15:17:30.000000000 -0600
-@@ -69,9 +69,9 @@
- g_return_val_if_fail(chunk != NULL,0);
- chunk->offset = riff->nextlikely+8; /* point to the actual data */
- chunk->id = words[0];
-- chunk->size = words[1];
-+ chunk->size = GUINT32_FROM_LE(words[1]);
- /* g_print("chunk id is 0x%08x '%s' and is 0x%08x long\n",words[0], */
--/* gst_riff_id_to_fourcc(words[0]),words[1]); */
-+/* gst_riff_id_to_fourcc(words[0]),chunk->size); */
- riff->nextlikely += 8 + chunk->size; /* doesn't include hdr */
- riff->chunks = g_list_prepend(riff->chunks,chunk);
- }
-@@ -82,15 +82,15 @@
-
- gulong gst_riff_fourcc_to_id(gchar *fourcc) {
- g_return_val_if_fail(fourcc != NULL,0);
--
-- return (fourcc[0] << 0) | (fourcc[1] << 8) |
-- (fourcc[2] << 16) | (fourcc[3] << 24);
-+ return GUINT32_FROM_LE((gulong)(fourcc[0] << 0) | (fourcc[1] << 8) |
-+ (fourcc[2] << 16) | (fourcc[3] << 24));
- }
-
- gchar *gst_riff_id_to_fourcc(gulong id) {
- gchar *fourcc = (gchar *)malloc(5);
-
- g_return_val_if_fail(fourcc != NULL, NULL);
-+ id = GUINT32_FROM_LE(id);
-
- fourcc[0] = (id >> 0) & 0xff;
- fourcc[1] = (id >> 8) & 0xff;
-diff -u gst/wavparse.orig/gstwavparse.c gst/wavparse/gstwavparse.c
---- gst/wavparse.orig/gstwavparse.c 2002-12-07 12:45:41.000000000 -0600
-+++ gst/wavparse/gstwavparse.c 2002-12-07 15:17:37.000000000 -0600
-@@ -61,7 +61,10 @@
- "format", GST_PROPS_STRING ("int"),
- "law", GST_PROPS_INT (0),
- "endianness", GST_PROPS_INT (G_BYTE_ORDER),
-- "signed", GST_PROPS_BOOLEAN (TRUE),
-+ "signed", GST_PROPS_LIST (
-+ GST_PROPS_BOOLEAN (FALSE),
-+ GST_PROPS_BOOLEAN (TRUE)
-+ ),
- "width", GST_PROPS_LIST (
- GST_PROPS_INT (8),
- GST_PROPS_INT (16)
-@@ -262,6 +265,11 @@
- /* we can gather format information now */
- format = (GstWavParseFormat *)((guchar *) GST_BUFFER_DATA (buf) + fmt->offset);
-
-+ wavparse->bps = GUINT16_FROM_LE(format->wBlockAlign);
-+ wavparse->rate = GUINT32_FROM_LE(format->dwSamplesPerSec);
-+ wavparse->channels = GUINT16_FROM_LE(format->wChannels);
-+ wavparse->width = GUINT16_FROM_LE(format->wBitsPerSample);
-+
- /* set the caps on the src pad */
- caps = GST_CAPS_NEW (
- "parsewav_src",
-@@ -269,11 +277,11 @@
- "format", GST_PROPS_STRING ("int"),
- "law", GST_PROPS_INT (0), /*FIXME */
- "endianness", GST_PROPS_INT (G_BYTE_ORDER),
-- "signed", GST_PROPS_BOOLEAN (TRUE), /*FIXME */
-- "width", GST_PROPS_INT (format->wBitsPerSample),
-- "depth", GST_PROPS_INT (format->wBitsPerSample),
-- "rate", GST_PROPS_INT (format->dwSamplesPerSec),
-- "channels", GST_PROPS_INT (format->wChannels)
-+ "signed", GST_PROPS_BOOLEAN ((wavparse->width > 8) ? TRUE : FALSE),
-+ "width", GST_PROPS_INT (wavparse->width),
-+ "depth", GST_PROPS_INT (wavparse->width),
-+ "rate", GST_PROPS_INT (wavparse->rate),
-+ "channels", GST_PROPS_INT (wavparse->channels)
- );
-
- if (gst_pad_try_set_caps (wavparse->srcpad, caps) <= 0) {
-@@ -281,13 +289,8 @@
- return;
- }
-
-- wavparse->bps = format->wBlockAlign;
-- wavparse->rate = format->dwSamplesPerSec;
-- wavparse->channels = format->wChannels;
-- wavparse->width = format->wBitsPerSample;
--
- GST_DEBUG (0, "frequency %d, channels %d",
-- format->dwSamplesPerSec, format->wChannels);
-+ wavparse->rate, wavparse->channels);
-
- /* we're now looking for the data chunk */
- wavparse->state = GST_WAVPARSE_CHUNK_DATA;
---- gst-libs/gst/riff/riffutil.c.orig 2002-12-08 14:15:46.000000000 -0600
-+++ gst-libs/gst/riff/riffutil.c 2002-12-08 14:16:29.000000000 -0600
-@@ -27,8 +27,8 @@
- gulong gst_riff_fourcc_to_id(gchar *fourcc) {
- g_return_val_if_fail(fourcc != NULL, 0);
-
-- return (fourcc[0] << 0) | (fourcc[1] << 8) |
-- (fourcc[2] << 16) | (fourcc[3] << 24);
-+ return GUINT32_FROM_LE((gulong)(fourcc[0] << 0) | (fourcc[1] << 8) |
-+ (fourcc[2] << 16) | (fourcc[3] << 24));
- }
-
- gchar *gst_riff_id_to_fourcc(gulong id) {
-@@ -36,6 +36,7 @@
-
- g_return_val_if_fail(fourcc != NULL, NULL);
-
-+ id = GUINT32_FROM_LE(id);
- fourcc[0] = (id >> 0) & 0xff;
- fourcc[1] = (id >> 8) & 0xff;
- fourcc[2] = (id >> 16) & 0xff;