summaryrefslogtreecommitdiff
path: root/multimedia/gstreamer-plugins
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-09-30 08:24:20 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-09-30 08:24:20 +0000
commitfa617f453fe5f60807f868371812d219aeb185db (patch)
tree0280e4ddb13e1868dea1c5602be0fbf39116ac7e /multimedia/gstreamer-plugins
parentAdd apachetop 0.4, apache RealTime log stats. (diff)
Fix the ESD output sink. With this patch, rhythmbox works again with the
gstreamer backend. Approved by: lioux Obtained from: http://bugzilla.gnome.org/show_bug.cgi?id=119155
Notes
Notes: svn path=/head/; revision=89881
Diffstat (limited to 'multimedia/gstreamer-plugins')
-rw-r--r--multimedia/gstreamer-plugins/Makefile1
-rw-r--r--multimedia/gstreamer-plugins/files/patch-ext_esd_esdsink.c27
2 files changed, 28 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins/Makefile b/multimedia/gstreamer-plugins/Makefile
index 5dc091b70ff9..c1e40124f0d8 100644
--- a/multimedia/gstreamer-plugins/Makefile
+++ b/multimedia/gstreamer-plugins/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gstreamer
PORTVERSION= 0.6.3
+PORTREVISION= 1
CATEGORIES= multimedia audio
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gst-plugins/0.6
diff --git a/multimedia/gstreamer-plugins/files/patch-ext_esd_esdsink.c b/multimedia/gstreamer-plugins/files/patch-ext_esd_esdsink.c
new file mode 100644
index 000000000000..cdef63cc59b7
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-ext_esd_esdsink.c
@@ -0,0 +1,27 @@
+--- ext/esd/esdsink.c 3 Aug 2003 20:48:40 -0000 1.10.4.1
++++ ext/esd/esdsink.c 25 Sep 2003 00:25:05 -0000
+@@ -281,7 +281,8 @@
+
+ switch(GST_EVENT_TYPE(event)){
+ case GST_EVENT_EOS:
+- break;
++ gst_pad_event_default(pad, event);
++ return;
+ case GST_EVENT_DISCONTINUOUS:
+ {
+ gint64 value;
+@@ -293,11 +294,12 @@
+ //esdsink->handled = 0;
+ }
+ //esdsink->resync = TRUE;
+- break;
++ gst_pad_event_default(pad, event);
++ return;
+ }
+ default:
+ gst_pad_event_default(pad, event);
+- break;
++ return;
+ }
+ gst_event_unref(event);
+ return;