hardware/intel/common/libva
Revision | 7c0b38696dd75c1699a2421f7ab00a9338909442 (tree) |
---|---|
Zeit | 2017-10-14 02:34:21 |
Autor | Mark Thompson <sw@jkqx...> |
Commiter | Xiang, Haihao |
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)
@@ -177,7 +177,7 @@ VAMessageCallback vaSetInfoCallback(VADisplay dpy, VAMessageCallback callback, v | ||
177 | 177 | return NULL; |
178 | 178 | |
179 | 179 | dctx = (VADisplayContextP)dpy; |
180 | - old_callback = dctx->error_callback; | |
180 | + old_callback = dctx->info_callback; | |
181 | 181 | |
182 | 182 | dctx->info_callback = callback; |
183 | 183 | dctx->info_callback_user_context = user_context; |