After some debugging, I've found that errors appear in the function
avcodec_default_get_buffer().
A pointer to that function is set in the AVCodecContext::get_buffer 
ff_thread_get_buffer() calls that function, and it returns EINVAL, when
finds that pixel format is hardware accelerated.

So, I have to write get_buffer() and release_buffer() functions.
Are there any examples? 

--
View this message in context: 
http://libav-api.1054858.n5.nabble.com/libav-api-How-do-I-use-DXVA2-hardware-acceleration-tp5001199p5003572.html
Sent from the libav-api mailing list archive at Nabble.com.
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to