diff options
author | earthdok <earthdok@chromium.org> | 2014-12-01 13:11:07 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-01 21:11:23 +0000 |
commit | 6b0dcfd9761235e93b45fa9ee9d90474c12adb11 (patch) | |
tree | 44343350be036c7209db892f1df1cbf75fecf677 /third_party/instrumented_libraries/patches | |
parent | d7777f96f98668918102861a262b311ae8c8bd74 (diff) | |
download | chromium_src-6b0dcfd9761235e93b45fa9ee9d90474c12adb11.zip chromium_src-6b0dcfd9761235e93b45fa9ee9d90474c12adb11.tar.gz chromium_src-6b0dcfd9761235e93b45fa9ee9d90474c12adb11.tar.bz2 |
Instrumented libraries: add libva1 for ChromeOS.
BUG=419367
TBR=glider@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/768223002
Cr-Commit-Position: refs/heads/master@{#306251}
Diffstat (limited to 'third_party/instrumented_libraries/patches')
-rw-r--r-- | third_party/instrumented_libraries/patches/libva1.diff | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/third_party/instrumented_libraries/patches/libva1.diff b/third_party/instrumented_libraries/patches/libva1.diff new file mode 100644 index 0000000..2e4ca73 --- /dev/null +++ b/third_party/instrumented_libraries/patches/libva1.diff @@ -0,0 +1,22 @@ +diff --git a/va/va.c b/va/va.c +index 6cb17ef..0ba595b 100644 +--- a/va/va.c ++++ b/va/va.c +@@ -515,15 +515,15 @@ VAStatus vaTerminate ( + free(old_ctx->vtable_vpp); + old_ctx->vtable_vpp = NULL; + +- if (VA_STATUS_SUCCESS == vaStatus) +- pDisplayContext->vaDestroy(pDisplayContext); +- + VA_TRACE_LOG(va_TraceTerminate, dpy); + + va_TraceEnd(dpy); + + va_FoolEnd(dpy); + ++ if (VA_STATUS_SUCCESS == vaStatus) ++ pDisplayContext->vaDestroy(pDisplayContext); ++ + return vaStatus; + } |