Merge "Use passthrough if file supports transcoding"
diff --git a/jni/FuseDaemon.cpp b/jni/FuseDaemon.cpp
index 6be7b16..e1e7547 100755
--- a/jni/FuseDaemon.cpp
+++ b/jni/FuseDaemon.cpp
@@ -1036,7 +1036,8 @@
 
     if (fuse->passthrough) {
         *keep_cache = 1;
-        handle = new struct handle(fd, ri, true /* cached */, !redaction_needed /* passthrough */,
+        handle = new struct handle(fd, ri, true /* cached */,
+                                   !redaction_needed || node->GetTransforms() /* passthrough */,
                                    uid);
     } else {
         // Without fuse->passthrough, we don't want to use the FUSE VFS cache in two cases: