• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/libva


Commit MetaInfo

修訂132fc526a38471422781559806fda234662c856a (tree)
時間2013-05-28 17:46:48
作者Zhou Chang <chang.zhou@inte...>
CommiterXiang, Haihao

Log Message

test/encode/avcenc: Wait upload thread exiting before release driver resource.

Signed-off-by: Zhou Chang <chang.zhou@intel.com>

Change Summary

差異

--- a/test/encode/avcenc.c
+++ b/test/encode/avcenc.c
@@ -256,6 +256,7 @@ static void alloc_encode_resource(FILE *yuv_fp)
256256
257257 static void release_encode_resource()
258258 {
259+ pthread_join(avcenc_context.upload_thread_id, NULL);
259260 free(newImageBuffer);
260261
261262 // Release all the surfaces resource