It leverages the new hwaccel 1.2 features: - get_buffer2 is never called - the internal context is automatically initialized/deinitialized
Showing the changes to libavcodec/allcodecs.c (1 of 8 files). Show all
Unified · Split
| @@ -79,6 +79,7 @@ void avcodec_register_all(void) · 78 unmodified lines | ||
| 79 | 79 | REGISTER_HWACCEL(H264_DXVA2, h264_dxva2); |
| 80 | 80 | REGISTER_HWACCEL(H264_VAAPI, h264_vaapi); |
| 81 | 81 | REGISTER_HWACCEL(H264_VDA, h264_vda); |
| 82 | + REGISTER_HWACCEL(H264_VDA_OLD, h264_vda_old); | |
| 82 | 83 | REGISTER_HWACCEL(H264_VDPAU, h264_vdpau); |
| 83 | 84 | REGISTER_HWACCEL(MPEG1_VDPAU, mpeg1_vdpau); |
| 84 | 85 | REGISTER_HWACCEL(MPEG2_DXVA2, mpeg2_dxva2); |