shithub: libvpx

Download patch

ref: 166b62346b5c43edcde01bf69ef4104bfc4cdf59
parent: a3b062c56f237e1680e4fdae838842955fc7fdf6
author: Tom Finegan <[email protected]>
date: Wed Jul 30 11:27:08 EDT 2014

vp9_spatial_svc_encoder.sh: Prevent failures when ssvc is unavailable.

Avoid running the tests when CONFIG_SPATIAL_SVC is 0.

Change-Id: I9b87ed206a9ba7de6827594fba275bd3f60faf2d

--- a/test/vp9_spatial_svc_encoder.sh
+++ b/test/vp9_spatial_svc_encoder.sh
@@ -88,4 +88,8 @@
                        vp9_spatial_svc_mode_ip
                        vp9_spatial_svc_mode_gf"
 
-run_tests vp9_spatial_svc_encoder_verify_environment "${vp9_spatial_svc_tests}"
+if [ "$(vpx_config_option_enabled CONFIG_SPATIAL_SVC)" = "yes" ]; then
+  run_tests \
+    vp9_spatial_svc_encoder_verify_environment \
+    "${vp9_spatial_svc_tests}"
+fi