summaryrefslogtreecommitdiff
path: root/libavcodec/allcodecs.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-01-07 07:58:24 +0100
committerAnton Khirnov <anton@khirnov.net>2016-01-12 09:23:34 +0100
commitee359c72ef8735122929da96006565e1558f1e55 (patch)
treed464c29c3cd8450f96bafa471f3b02af256c26e9 /libavcodec/allcodecs.c
parent39571e86cb0d55536f649210a025c54e440c632b (diff)
nvenc: rename encoders
Change 'nvenc_<codec>' to '<codec>_nvenc', which is consistent with other similar decoders and encoders (QSV, MMAL).
Diffstat (limited to 'libavcodec/allcodecs.c')
-rw-r--r--libavcodec/allcodecs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c
index 6eec4fe1e1..e1a4382fef 100644
--- a/libavcodec/allcodecs.c
+++ b/libavcodec/allcodecs.c
@@ -495,6 +495,10 @@ void avcodec_register_all(void)
REGISTER_ENCODER(HEVC_NVENC, hevc_nvenc);
REGISTER_ENCODER(HEVC_QSV, hevc_qsv);
REGISTER_ENCODER(MPEG2_QSV, mpeg2_qsv);
+#if FF_API_NVENC_OLD_NAME
+ REGISTER_ENCODER(NVENC_H264, nvenc_h264);
+ REGISTER_ENCODER(NVENC_HEVC, nvenc_hevc);
+#endif
/* parsers */
REGISTER_PARSER(AAC, aac);