From c0f17a905f3588bf61ba6d86a83c6835d431ed3d Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 5 May 2017 00:15:21 +0200 Subject: cuvid: support AVCodecContext.hw_device_ctx API This is a newer API that is intended for decoders like the cuvid wrapper. Until now, the wrapper required to set an awkward "incomplete" hw_frames_ctx to set the device. Now the device can be set directly, and the user can get AV_PIX_FMT_CUDA output for a specific device simply by setting hw_device_ctx. This still does a dummy ff_get_format() call at init time, and should be fully backward compatible. --- doc/APIchanges | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/APIchanges') diff --git a/doc/APIchanges b/doc/APIchanges index fcd3423..b9d7b8b 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -15,6 +15,11 @@ libavutil: 2015-08-28 API changes, most recent first: +2017-05-05 - xxxxxxxxxx - lavc 57.94.100 - avcodec.h + The cuvid decoders now support AVCodecContext.hw_device_ctx, which removes + the requirement to set an incomplete AVCodecContext.hw_frames_ctx only to + set the Cuda device handle. + 2017-04-11 - 8378466507 - lavu 55.61.100 - avstring.h Add av_strireplace(). -- cgit v1.1