• 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/common/libva


Commit MetaInfo

Revision7c0b38696dd75c1699a2421f7ab00a9338909442 (tree)
Zeit2017-10-14 02:34:21
AutorMark Thompson <sw@jkqx...>
CommiterXiang, Haihao

Log Message

Fix returning of old info callback

Thanks to Sreerenj Balachandran <sreerenj.balachandran@intel.com> for
noticing this error.

Signed-off-by: Mark Thompson <sw@jkqxz.net>
(cherry picked from commit cb1f254ec65954ff7585f40df4b38337c462b14c)

Ändern Zusammenfassung

Diff

--- a/va/va.c
+++ b/va/va.c
@@ -177,7 +177,7 @@ VAMessageCallback vaSetInfoCallback(VADisplay dpy, VAMessageCallback callback, v
177177 return NULL;
178178
179179 dctx = (VADisplayContextP)dpy;
180- old_callback = dctx->error_callback;
180+ old_callback = dctx->info_callback;
181181
182182 dctx->info_callback = callback;
183183 dctx->info_callback_user_context = user_context;