diff -urNp seamonkey-2.53.11-orig/dom/media/platforms/agnostic/DAV1DDecoder.cpp seamonkey-2.53.11-dwok/dom/media/platforms/agnostic/DAV1DDecoder.cpp --- seamonkey-2.53.11-orig/dom/media/platforms/agnostic/DAV1DDecoder.cpp 2022-03-22 21:13:11.186284594 +0100 +++ seamonkey-2.53.11-dwok/dom/media/platforms/agnostic/DAV1DDecoder.cpp 2022-03-22 21:10:17.267709130 +0100 @@ -29,13 +29,8 @@ RefPtr DA } else if (mInfo.mDisplay.width >= 1024) { decoder_threads = 4; } - settings.n_frame_threads = + settings.n_threads = static_cast(std::min(decoder_threads, GetNumberOfProcessors())); - // There is not much improvement with more than 2 tile threads at least with - // the content being currently served. The ideal number of tile thread would - // much the tile count of the content. Maybe dav1d can help to do that in the - // future. - settings.n_tile_threads = 2; int res = dav1d_open(&mContext, &settings); if (res < 0) {