projects
/
profile
/
ivi
/
libva.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40e5e45
)
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
Austin Yuan
<shengquan.yuan@intel.com>
Wed, 8 Aug 2012 03:22:41 +0000
(11:22 +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
a88f4a8
..
e6fd2b2
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++)