summaryrefslogtreecommitdiff
path: root/libavdevice/decklink_dec.cpp
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2020-11-29 08:07:46 +0800
committerLimin Wang <lance.lmwang@gmail.com>2020-12-05 09:00:53 +0800
commite6ae498234be9a841868cd5aa402be3c9292f618 (patch)
treea9b19d8b4d5596730afa4f0f208ab7fd9c1d1baf /libavdevice/decklink_dec.cpp
parente546d029198950f589f7d9820970e599fba2ad30 (diff)
downloadffmpeg-e6ae498234be9a841868cd5aa402be3c9292f618.tar.gz
avdevice/decklink: remove the duplicated warning message
./ffmpeg -list_devices true -f decklink -i dummy [Blackmagic DeckLink indev @ 0x2f96d00] The "list_devices" option is deprecated: list available devices [decklink @ 0x2f96400] The -list_devices option is deprecated and will be removed. Please use ffmpeg -sources decklink instead. -> [Blackmagic DeckLink indev @ 0x306ed00] The "list_devices" option is deprecated: use ffmpeg -sources decklink instead Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavdevice/decklink_dec.cpp')
-rw-r--r--libavdevice/decklink_dec.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp
index 090437a6b5..d56d31ebea 100644
--- a/libavdevice/decklink_dec.cpp
+++ b/libavdevice/decklink_dec.cpp
@@ -1219,7 +1219,6 @@ 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;
}