lavc: deprecate CrystalHD decoders
The hardware is old and not relevant today. The decoders also have many special quirks and are effectively unmaintained.
This commit is contained in:
parent
4b922218e9
commit
82da22066c
5 changed files with 11 additions and 3 deletions
|
|
@ -329,6 +329,10 @@ static av_cold int init(AVCodecContext *avctx)
|
|||
av_log(avctx, AV_LOG_VERBOSE, "CrystalHD Init for %s\n",
|
||||
avctx->codec->name);
|
||||
|
||||
av_log(avctx, AV_LOG_WARNING, "CrystalHD support is deprecated and will "
|
||||
"be removed. Please contact the developers if you are interested in "
|
||||
"maintaining it.\n");
|
||||
|
||||
avctx->pix_fmt = AV_PIX_FMT_YUYV422;
|
||||
|
||||
/* Initialize the library */
|
||||
|
|
|
|||
|
|
@ -55,4 +55,7 @@
|
|||
#define FF_API_VT_HWACCEL_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 60)
|
||||
#define FF_API_AVCODEC_CHROMA_POS (LIBAVCODEC_VERSION_MAJOR < 60)
|
||||
|
||||
// reminder to remove CrystalHD decoders on next major bump
|
||||
#define FF_CODEC_CRYSTAL_HD (LIBAVCODEC_VERSION_MAJOR < 61)
|
||||
|
||||
#endif /* AVCODEC_VERSION_MAJOR_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue