mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
avdevice/decklink: deprecate the -list_devices option
The user should use ffmpeg -sources decklink or ffmpeg -sinks decklink instead. Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
@@ -1050,6 +1050,7 @@ av_cold int ff_decklink_read_header(AVFormatContext *avctx)
|
||||
|
||||
/* List available devices. */
|
||||
if (ctx->list_devices) {
|
||||
av_log(avctx, AV_LOG_WARNING, "The -list_devices option is deprecated and will be removed. Please use ffmpeg -sources decklink instead.\n");
|
||||
ff_decklink_list_devices_legacy(avctx, 1, 0);
|
||||
return AVERROR_EXIT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user