Quantcast
Channel: Intel® Software - Media
Viewing all articles
Browse latest Browse all 2185

EncodeFrameAsync - MFX_ERR_NULL_PTR

$
0
0

sts = mfxENC->EncodeFrameAsync(NULL, YUVFrame, &mfxBS, &syncp);

So, for some reason I am getting sts returned with a -2, meaning MFX_ERR_NULL_PTR.

YUVFrame is not null and everything has been filled in

mfxBS does have some null parts to it, such as Data, but that's because EncodeFrameAsync is supposed to fill in mfxBS, right?

And syncp is also null but again, it's supposed to be set by EncodeFrameAsync, right?

 

Any idea why I could be suddenly getting this error, this was working until I changed a couple things, can't remember much changing these parameters though.  Thanks.

-Matt

 


Viewing all articles
Browse latest Browse all 2185

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>