hardware/intel/common/libva
リビジョン | cb1f254ec65954ff7585f40df4b38337c462b14c (tree) |
---|---|
日時 | 2017-10-12 01:10:36 |
作者 | Mark Thompson <sw@jkqx...> |
コミッター | 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>
@@ -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; |