vaapi_encode: Move quality option to common code
Use AVCodecContext.compression_level rather than a private option, replacing the H.264-specific quality option (which stays only for compatibility). This now works with the H.265 encoder in the i965 driver, as well as the existing cases with the H.264 encoder.
Showing
- doc/encoders.texi 6 additions, 3 deletionsdoc/encoders.texi
- libavcodec/vaapi_encode.c 35 additions, 0 deletionslibavcodec/vaapi_encode.c
- libavcodec/vaapi_encode.h 6 additions, 0 deletionslibavcodec/vaapi_encode.h
- libavcodec/vaapi_encode_h264.c 2 additions, 23 deletionslibavcodec/vaapi_encode_h264.c
Loading
Please register or sign in to comment