diff options
author | marcus <marcus@FreeBSD.org> | 2003-09-30 16:24:20 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-09-30 16:24:20 +0800 |
commit | eba6e776b4bce1f2613ae021ffe87b7ed715d25b (patch) | |
tree | 0cb786dfc673f30b5a29b0a8b762801bb0aa4e11 /multimedia | |
parent | a519155ceff476edfe584ecd4239ea01d2a53764 (diff) | |
download | freebsd-ports-gnome-eba6e776b4bce1f2613ae021ffe87b7ed715d25b.tar.gz freebsd-ports-gnome-eba6e776b4bce1f2613ae021ffe87b7ed715d25b.tar.zst freebsd-ports-gnome-eba6e776b4bce1f2613ae021ffe87b7ed715d25b.zip |
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
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gstreamer-plugins/Makefile | 1 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins/files/patch-ext_esd_esdsink.c | 27 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins80/Makefile | 1 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins80/files/patch-ext_esd_esdsink.c | 27 |
4 files changed, 56 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; diff --git a/multimedia/gstreamer-plugins80/Makefile b/multimedia/gstreamer-plugins80/Makefile index 5dc091b70ff9..c1e40124f0d8 100644 --- a/multimedia/gstreamer-plugins80/Makefile +++ b/multimedia/gstreamer-plugins80/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-plugins80/files/patch-ext_esd_esdsink.c b/multimedia/gstreamer-plugins80/files/patch-ext_esd_esdsink.c new file mode 100644 index 000000000000..cdef63cc59b7 --- /dev/null +++ b/multimedia/gstreamer-plugins80/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; |