The user should use ffmpeg -sources decklink or ffmpeg -sinks decklink instead.
Showing the changes to libavdevice/decklink_dec.cpp (1 of 5 files). Show all
Unified · Split
| @@ -1050,6 +1050,7 @@ av_cold int ff_decklink_read_header(AVFormatContext *avctx) · 1049 unmodified lines | ||
| 1050 | 1050 | |
| 1051 | 1051 | /* List available devices. */ |
| 1052 | 1052 | if (ctx->list_devices) { |
| 1053 | + av_log(avctx, AV_LOG_WARNING, "The -list_devices option is deprecated and will be removed. Please use ffmpeg -sources decklink instead.\n"); | |
| 1053 | 1054 | ff_decklink_list_devices_legacy(avctx, 1, 0); |
| 1054 | 1055 | return AVERROR_EXIT; |
| 1055 | 1056 | } |