Am 18.11.2017 um 17:38 schrieb Carl Eugen Hoyos:
2017-11-16 17:36 GMT+01:00 Philip Langdale <phil...@overt.org>:

+AVHWAccel ff_mpeg2_nvdec_hwaccel = {
+    .name                 = "mpeg2_nvdec",
+    .type                 = AVMEDIA_TYPE_VIDEO,
+    .id                   = AV_CODEC_ID_MPEG2VIDEO,
+    .pix_fmt              = AV_PIX_FMT_CUDA,
+    .start_frame          = nvdec_mpeg12_start_frame,
+    .end_frame            = nvdec_mpeg12_end_frame,
+    .decode_slice         = nvdec_mpeg12_decode_slice,
+    .frame_params         = nvdec_mpeg12_frame_params,
+    .init                 = ff_nvdec_decode_init,
+    .uninit               = ff_nvdec_decode_uninit,
+    .priv_data_size       = sizeof(NVDECContext),
+};
+#endif
diff --git a/libavcodec/version.h b/libavcodec/version.h
index a75c885768..5b25a9a8ac 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -29,7 +29,7 @@

  #define LIBAVCODEC_VERSION_MAJOR  58
  #define LIBAVCODEC_VERSION_MINOR   3
-#define LIBAVCODEC_VERSION_MICRO 102
+#define LIBAVCODEC_VERSION_MICRO 103

It doesn't really matter but we usually do a minor
bump when adding a hwaccel/encoder/demuxer/...

Doing a bunch of minor bumps for all the nvdec hwaccels that are coming in in short succession seems a bit too forward to me. Which is why I opted for micro bumps so far.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to