• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

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

hardware/intel/libva


Commit MetaInfo

Revision2a3f0d68a6567c99ad60813717832260cbc5a2b6 (tree)
Zeit2013-05-28 17:46:47
AutorAustin Yuan <shengquan.yuan@inte...>
CommiterXiang, Haihao

Log Message

va_trace.c: fix a wrong conditional check

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>

Ändern Zusammenfassung

Diff

--- a/va/va_trace.c
+++ b/va/va_trace.c
@@ -309,7 +309,7 @@ void va_TraceCodedBuf(VADisplay dpy)
309309 unsigned int i;
310310
311311 va_TraceMsg(idx, "\tsize = %d\n", buf_list->size);
312- if (trace_context[idx].trace_fp_log)
312+ if (trace_context[idx].trace_fp_codedbuf)
313313 fwrite(buf_list->buf, buf_list->size, 1, trace_context[idx].trace_fp_codedbuf);
314314
315315 for (i=0; i<buf_list->size; i++)