Skip to content
Snippets Groups Projects
  1. Feb 11, 2011
  2. Feb 10, 2011
  3. Feb 09, 2011
  4. Feb 08, 2011
  5. Feb 07, 2011
  6. Feb 06, 2011
  7. Feb 05, 2011
  8. Feb 04, 2011
  9. Feb 03, 2011
  10. Feb 02, 2011
  11. Feb 01, 2011
    • Timothy B. Terriberry's avatar
      Limit mode creation to supported modes. · aa6fec66
      Timothy B. Terriberry authored
      We did no real error checking to see if a mode is supported when it
       is created.
      This patch implements checks for Jean-Marc's rules:
      1) A mode must have frames at least 1ms in length (no more than
          1000 per second).
      2) A mode must have shorts of at most 3.33 ms (at least 300 per
          second).
      It also adds error checking to dump_modes so we report the error
       instead of crashing when we fail to create a mode.
      aa6fec66
Loading