]> granicus.if.org Git - libvpx/commitdiff
Disable multi-threading in first pass for SVC encoding
authorRanjit Kumar Tulabandu <ranjit.tulabandu@ittiam.com>
Fri, 27 Jan 2017 13:37:45 +0000 (19:07 +0530)
committerYunqing Wang <yunqingwang@google.com>
Fri, 27 Jan 2017 17:41:53 +0000 (09:41 -0800)
BUG=webm:1366

Change-Id: I204ef8496884ba7c4debe64f23f50d298b4090c3

vp9/encoder/vp9_encoder.c

index 5dbe62db536e4d59dfc6f0baf77e7875a795de74..806f07a6077c3ef385520394fb864f12d8a87c5f 100644 (file)
@@ -1569,7 +1569,7 @@ void vp9_change_config(struct VP9_COMP *cpi, const VP9EncoderConfig *oxcf) {
   cpi->new_mt = 0;
   if (((cpi->oxcf.mode == GOOD || cpi->oxcf.mode == BEST) &&
        cpi->oxcf.speed < 5 && cpi->oxcf.pass == 1) &&
-      cpi->oxcf.new_mt)
+      cpi->oxcf.new_mt && !cpi->use_svc)
     cpi->new_mt = 1;
 }