[gstreamer-bugs] [Bug 528299] Multiple GstMixerTracks with the same label cause problems for GNOME Volume Control

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Jun 19 06:30:57 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=528299

  GStreamer | gst-plugins-base | Ver: 0.10.19

Bastien Nocera changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hadess at hadess.net
 Attachment #109345|accepted-commit_after_freeze|needs-work
               Flag|                            |
 Attachment #109348|accepted-commit_after_freeze|needs-work
               Flag|                            |




------- Comment #4 from Bastien Nocera  2008-06-19 13:30 UTC -------
+  /* FIXME: translate this? */
+  if (dupecount == 0) {
+    label = g_strdup (alsa_name);
+  } else {
+    label = g_strdup_printf ("%s %d", alsa_name, dupecount);
+  }

That breaks the translations (and the default visible tracks) in
gnome-volume-control itself. You'd need to keep the same "untranslated-label"
property, and add an "index" property for gnome-volume-control to manipulate,
and present to the user properly.

And you should use snd_mixer_selem_get_index(), so you don't need to change the
prototype of the functions:
http://www.alsa-project.org/alsa-doc/alsa-lib/group___simple_mixer.html#g3443fbb62c125c88009097e7fafe214f


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=528299.




More information about the Gstreamer-bugs mailing list