OSDN Git Service
(root)
/
android-x86
/
hardware-intel-common-libva.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
400752a
)
va_trace.c: fix a wrong conditional check
author
Austin Yuan
<shengquan.yuan@intel.com>
Thu, 2 Aug 2012 10:24:20 +0000
(18:24 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Tue, 28 May 2013 08:46:47 +0000
(16:46 +0800)
Should check trace_fp_codedbuf instead of trace_fp_log because
we write to trace_fp_codedbuf
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
va/va_trace.c
patch
|
blob
|
history
diff --git
a/va/va_trace.c
b/va/va_trace.c
index
d940171
..
fff175b
100644
(file)
--- a/
va/va_trace.c
+++ b/
va/va_trace.c
@@
-309,7
+309,7
@@
void va_TraceCodedBuf(VADisplay dpy)
unsigned int i;
va_TraceMsg(idx, "\tsize = %d\n", buf_list->size);
- if (trace_context[idx].trace_fp_
log
)
+ if (trace_context[idx].trace_fp_
codedbuf
)
fwrite(buf_list->buf, buf_list->size, 1, trace_context[idx].trace_fp_codedbuf);
for (i=0; i<buf_list->size; i++)