Skip to content

Commit

Permalink
MotionOpenCV: Improve vaSyncSurface error message to include code
Browse files Browse the repository at this point in the history
  • Loading branch information
edman007 committed Apr 16, 2023
1 parent 71f6db0 commit 458557c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion motion_opencv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ void MotionOpenCV::indirect_vaapi_map(const AVFrame *input){

status = vaSyncSurface(hw_ctx->display, surface);
if (status != VA_STATUS_SUCCESS){
LWARN("vaSyncSurface: Failed");
LWARN("vaSyncSurface: Failed (" + std::to_string(status) + ")");
return;
}

Expand Down

0 comments on commit 458557c

Please sign in to comment.