Author | SHA1 | Message | Date |
---|---|---|---|
|
d4a91e6534 |
pthread_frame: do not run hwaccel decoding asynchronously unless it's safe
Certain hardware decoding APIs are not guaranteed to be thread-safe, so having the user access decoded hardware surfaces while the decoder is running in another thread can cause failures (this is mainly known to happen with DXVA2). For such hwaccels, only allow the decoding thread to run while the user is inside a lavc decode call (avcodec_send_packet/receive_frame). |
8 years ago |
|
75d642a944 |
vaapi_vp8: Explicitly include libva vp8 decode header
With some old libva versions <va/va.h> does not automatically include the per-codec subsidiary headers, so we need to include the right one explicitly ourselves. |
8 years ago |
|
a9fb134730 | lavc/vaapi: Add VP8 decode hwaccel | 8 years ago |