Skip to content
Snippets Groups Projects
  1. Nov 03, 2021
  2. Nov 02, 2021
  3. Nov 01, 2021
    • Lyndon Brown's avatar
      svg: fix default outside of valid range · 94fb7feb
      Lyndon Brown authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
      caused options to always be adjusted to value of 1 when saving prefs.
      94fb7feb
    • Lyndon Brown's avatar
      visual: fix bad option default · fb842279
      Lyndon Brown authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
      "flat" is not in the choice list and is meaningless to the module, not
      matching any of its known presets. it is thus equivalent to a default of
      "none". (see `window_get_param()` in `modules/visualization/visual/window.c`
      which describes this as falling back to "using rectangular window (i.e. no
      window)").
      
      it is a reasonable assumption that the author meant the default to be the
      `"flattop"` choice, and just made a mistake here, however this is not
      certain and the preference expressed in review was to preserve the existing
      behaviour by switching to "none".
      fb842279
    • Lyndon Brown's avatar
      upnp: fix bad option default · 230068f3
      Lyndon Brown authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
      the lowercase "auto" default option value did not match the uppercase
      "Auto" in the choice list.
      
      option values should typically be lowercase. this fixes the mistake with
      the case of the choice value, whilst maintaining backwards compatibility
      with existing CLI usage and from saved settings files. this was the
      clear preference for fixing this resulting from the MR discussion.
      230068f3
    • Lyndon Brown's avatar
      upnp: improve auto mode handling code · 31f283ad
      Lyndon Brown authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
      (no functional change)
      
       - better prepare for the next commit where we need to support both "Auto"
         and "auto".
       - avoid multiple `strdup()`.
       - avoid avoidable string comparisons.
      31f283ad
    • Lyndon Brown's avatar
      rtp: fix bad option default · 0a68d39d
      Lyndon Brown authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
      NULL does not map to an entry in the choice list.
      
      also, mark the choice labels for translation.
      0a68d39d
    • Lyndon Brown's avatar
      mono: fix bad option default · 93211094
      Lyndon Brown authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
      -1 was not in the choice list.
      
      this adds the missing choice list entry corresponding to the default.
      i've made a guess at the right label and explanation to use based upon
      what seems to be happening with a -1 value in `stereo_to_mono()` and
      from bits of git history relating to it.
      93211094
    • Lyndon Brown's avatar
      dtv: fix bad option default · 7e3cba83
      Lyndon Brown authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
      0 was not in the choice list.
      
      it looks like 0 was interpreted by the code as the same as -1 via
      `dvb_parse_transmit_mode()`, so not a big problem.
      7e3cba83
  4. Oct 31, 2021
  5. Oct 30, 2021
  6. Oct 29, 2021
  7. Oct 28, 2021
Loading