From eba6e776b4bce1f2613ae021ffe87b7ed715d25b Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 30 Sep 2003 08:24:20 +0000 Subject: 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 --- multimedia/gstreamer-plugins/Makefile | 1 + .../files/patch-ext_esd_esdsink.c | 27 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 multimedia/gstreamer-plugins/files/patch-ext_esd_esdsink.c (limited to 'multimedia/gstreamer-plugins') 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; -- cgit