[mythtv-commits] [MythTV/mythtv] 93b628: mythdeinterlacer.cpp: std::clamp CPU threads

Scott Theisen noreply at github.com
Sun Feb 20 20:33:20 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 93b628ee9da326f724b7cdc5aac23e4242d10930
      https://github.com/MythTV/mythtv/commit/93b628ee9da326f724b7cdc5aac23e4242d10930
  Author: ulmus-scott <scott.the.elm at gmail.com>
  Date:   2022-02-20 (Sun, 20 Feb 2022)

  Changed paths:
    M mythtv/libs/libmythtv/mythdeinterlacer.cpp

  Log Message:
  -----------
  mythdeinterlacer.cpp: std::clamp CPU threads

Instead of setting to 1 if out of range on either side.


  Commit: f4b6d0783c3b2006c5dd5681bf6517f9558585f3
      https://github.com/MythTV/mythtv/commit/f4b6d0783c3b2006c5dd5681bf6517f9558585f3
  Author: Scott Theisen <scott.the.elm at gmail.com>
  Date:   2022-02-20 (Sun, 20 Feb 2022)

  Changed paths:
    M mythtv/libs/libmythtv/mythdeinterlacer.cpp

  Log Message:
  -----------
  mythdeinterlacer.cpp: use hint from std::thread::hardware_concurrency()

instead of an arbitrary max of 8.  hardware_concurrency() may return 0,
so enforce a minimum maximum of 8.


Compare: https://github.com/MythTV/mythtv/compare/9b73f8c90c60...f4b6d0783c3b


More information about the mythtv-commits mailing list