shithub: dav1d

Download patch

ref: de18a5f5d2f4f03b78663d203f72e6099ea59d0e
parent: f11d1a90ff9b077e5d93b8a4636f8b1f142b3786
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Mon Sep 7 06:16:24 EDT 2020

set frame/tile threads to NPROC too

--- a/src/av19.c
+++ b/src/av19.c
@@ -260,8 +260,8 @@
 	}
 
 	dav1d_default_settings(&av1s);
-	av1s.n_frame_threads = 4; // FIXME threads
-	av1s.n_tile_threads = 4; // FIXME threads
+	av1s.n_frame_threads = maxframes;
+	av1s.n_tile_threads = maxframes;
 
 	if(dav1d_open(&p->c, &av1s) != 0){
 		werrstr("dav1d_open");