<html><head></head><body><div class="-x-evo-paragraph -x-evo-top-signature-spacer"><br></div><div>On Thu, 2016-07-28 at 17:11 -0700, Daniel Charles wrote:</div><blockquote type="cite"><pre>VAStatus when calling vme_pipeline was silently failing

Signed-off-by: Daniel Charles <<a href="daniel.charles@intel.com>
">daniel.charles@intel.com>
</a></pre></blockquote><div><br></div><div>Thanks, applied.</div><div><br></div><div>Sean</div><div><br></div><blockquote type="cite"><pre>---
 src/i965_encoder.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/i965_encoder.c b/src/i965_encoder.c
index 1088f08..361aa93 100644
--- a/src/i965_encoder.c
+++ b/src/i965_encoder.c
@@ -721,10 +721,12 @@ intel_encoder_end_picture(VADriverContextP ctx,
 
     if((encoder_context->vme_context && encoder_context->vme_pipeline)) {
         vaStatus = encoder_context->vme_pipeline(ctx, profile, encode_state, encoder_context);
+        if (vaStatus != VA_STATUS_SUCCESS)
+            return vaStatus;
     }
 
-    if (vaStatus == VA_STATUS_SUCCESS)
-        encoder_context->mfc_pipeline(ctx, profile, encode_state, encoder_context);
+    encoder_context->mfc_pipeline(ctx, profile, encode_state, encoder_context);
+
     return VA_STATUS_SUCCESS;
 }
 
</pre></blockquote><div><br></div></body></html>