Re: disable oss in gstreamer-plugins

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

 



On Tue, 2004-10-19 at 14:27, Kjartan Maraas wrote:
> Could we get it to drop modems too please? :) I have a nice grey area
> titled "Intel 82801DB-ICH4 Modem [Alsa Mixer]" in the mixer...

Yes, I'll fix that for GNOME 2.10... Don't we have a bugzilla report for
that already? I was gonna tell you to send me a patch since it's a
one-liner (or so), but then decided to just do it. See attach. 5 seconds
of work. ;). It's untested since I don't have a modem.

Anyway, for everyone else: please put feature requests in bugzilla, I'm
not gonna implement each feature right away and will forget all the
others.

Ronald

-- 
Ronald S. Bultje <rbultje@xxxxxxxxxxxxxxxxxxx>
Index: gst-mixer/src/main.c
===================================================================
RCS file: /cvs/gnome/gnome-media/gst-mixer/src/main.c,v
retrieving revision 1.1
diff -u -r1.1 main.c
--- gst-mixer/src/main.c	16 Sep 2004 20:20:11 -0000	1.1
+++ gst-mixer/src/main.c	19 Oct 2004 17:04:53 -0000
@@ -105,6 +105,12 @@
         continue;
       }
 
+      /* any tracks? */
+      if (!gst_mixer_list_tracks (GST_MIXER (element))) {
+        gst_element_set_state (element, GST_STATE_NULL);
+        continue;
+      }
+
       /* fetch name */
       if (g_object_class_find_property (G_OBJECT_GET_CLASS (G_OBJECT (element)),
 					"device-name")) {

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux