[gst-cvs] gst-plugins-good: oss: Downgrade the rank of osssrc to SECONDARY

Sebastian Dröge slomo at kemper.freedesktop.org
Thu Oct 8 04:16:58 PDT 2009


Module: gst-plugins-good
Branch: master
Commit: 8b9799aeb1d634f0ef2880b20617d64e2a3d248e
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=8b9799aeb1d634f0ef2880b20617d64e2a3d248e

Author: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
Date:   Wed Oct  7 21:51:38 2009 +0100

oss: Downgrade the rank of osssrc to SECONDARY

which is the same rank as osssink has.

Fixes bug #597730.

---

 sys/oss/gstossaudio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sys/oss/gstossaudio.c b/sys/oss/gstossaudio.c
index aa70b09..2a181e8 100644
--- a/sys/oss/gstossaudio.c
+++ b/sys/oss/gstossaudio.c
@@ -35,7 +35,7 @@ plugin_init (GstPlugin * plugin)
 {
   if (!gst_element_register (plugin, "ossmixer", GST_RANK_NONE,
           GST_TYPE_OSS_MIXER_ELEMENT) ||
-      !gst_element_register (plugin, "osssrc", GST_RANK_PRIMARY,
+      !gst_element_register (plugin, "osssrc", GST_RANK_SECONDARY,
           GST_TYPE_OSS_SRC) ||
       !gst_element_register (plugin, "osssink", GST_RANK_SECONDARY,
           GST_TYPE_OSSSINK)) {





More information about the Gstreamer-commits mailing list