]> granicus.if.org Git - libvpx/commitdiff
Disable global motion experiment when incompatible experiments are enabled
authorSarah Parker <sarahparker@google.com>
Thu, 18 Aug 2016 20:03:35 +0000 (13:03 -0700)
committerSarah Parker <sarahparker@google.com>
Thu, 18 Aug 2016 23:00:38 +0000 (16:00 -0700)
This is temporary until the global motion experiment is made to work
with ext_inter and dual_filter.

Change-Id: I73624ca6f536fd98218d7e07bcd7a2c1e6f5aebd

configure

index 633e3edba6de131ce10df50cacb0ab854d014e1b..44f7c238b90db80bbd64a635314d02005430b345 100755 (executable)
--- a/configure
+++ b/configure
@@ -434,6 +434,12 @@ post_process_cmdline() {
     for c in ${CODECS}; do
         enabled ${c} && enable_feature ${c##*_}s
     done
+
+    if enabled global_motion && (enabled ext_inter || enabled dual_filter); then
+      log_echo "global_motion currently not compatible with ext_inter"
+      log_echo "and dual_filter. Disabling global_motion."
+      disable_feature global_motion
+    fi
 }