[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: disable oss in gstreamer-plugins



On Mon, 2004-10-18 at 21:28 +0200, Ronald S. Bultje wrote:
> On Mon, 2004-10-18 at 20:46, Colin Walters wrote:
> > One alternative instead would be have gnome-volume-control skip OSS
> > mixers for now.
> 
> That's probably a good idea, given that you don't expect anyone to still
> use OSS...

Done.


--- gnome-media-2.8.0/gst-mixer/src/mixer.c~	2004-08-31 08:14:54.000000000 -0400
+++ gnome-media-2.8.0/gst-mixer/src/mixer.c	2004-10-18 16:09:15.466548928 -0400
@@ -508,6 +508,10 @@
     if (strcmp (klass, "Generic/Audio"))
       goto next;
 
+    name = gst_element_factory_get_longname (factory);
+    if (!strcmp (name, "OSS Mixer"))
+      goto next;
+
     /* create element */
     title = g_strdup_printf ("gst-mixer-%d", num);
     element = gst_element_factory_create (factory, title);

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]