Community
cancel
Showing results for 
Search instead for 
Did you mean: 
k__mayur
Beginner
77 Views

MFXVideoCORE_SyncOperation is returning MFX_ERR_UNDEFINED_BEHAVIOR

We are developing a decoder based application and we are facing an issue. The issue is similar to this post but we are using only Intel decoder.

We are referring “mediasdk-man.pdf” for our application development. We are following the steps given in “Example 1: Decoding Pseudo Code” for decoding operation. The issue is that when we call “SyncOperation()” API, it is returning “MFX_ERR_UNDEFINED_BEHAVIOR”. We are not able to find-out what is causing this error. There is no error during initialization of the decoder and “DecodeFrameAsync()” API is returning MFX_ERR_NONE.

Could someone help us to understand what is going wrong here? We printed the buffer addresses and they are proper.

0 Kudos
1 Reply
Mark_L_Intel1
Moderator
77 Views

Hi Mayur,

Since there is no source code and error messages, I can't tell what the problem is,

Here are some general glue to the problem,

  1. Refer to tutorial and sample code for the API programming, tutorial is simple but might have bugs, sample is accurate but might be complicated.
  2. You can build our open source media stack for debugging purpose.
  3. Starting from a working code, and moving toward to your current configuration, then you can figure out which parameter causes the problem

Mark

Reply