diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2020-11-29 08:07:46 +0800 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2020-12-05 09:00:53 +0800 |
commit | e6ae498234be9a841868cd5aa402be3c9292f618 (patch) | |
tree | a9b19d8b4d5596730afa4f0f208ab7fd9c1d1baf /libavdevice/decklink_enc_c.c | |
parent | e546d029198950f589f7d9820970e599fba2ad30 (diff) | |
download | ffmpeg-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_enc_c.c')
-rw-r--r-- | libavdevice/decklink_enc_c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/decklink_enc_c.c b/libavdevice/decklink_enc_c.c index 6cc0743002..f09659909f 100644 --- a/libavdevice/decklink_enc_c.c +++ b/libavdevice/decklink_enc_c.c @@ -28,7 +28,7 @@ #define OFFSET(x) offsetof(struct decklink_cctx, x) #define ENC AV_OPT_FLAG_ENCODING_PARAM static const AVOption options[] = { - { "list_devices", "list available devices" , OFFSET(list_devices), AV_OPT_TYPE_BOOL , { .i64 = 0 }, 0, 1, ENC | AV_OPT_FLAG_DEPRECATED}, + { "list_devices", "use ffmpeg -sinks decklink instead", OFFSET(list_devices), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, ENC | AV_OPT_FLAG_DEPRECATED}, { "list_formats", "list supported formats" , OFFSET(list_formats), AV_OPT_TYPE_INT , { .i64 = 0 }, 0, 1, ENC }, { "preroll" , "video preroll in seconds", OFFSET(preroll ), AV_OPT_TYPE_DOUBLE, { .dbl = 0.5 }, 0, 5, ENC }, { "duplex_mode" , "duplex mode" , OFFSET(duplex_mode ), AV_OPT_TYPE_INT , { .i64 = 0 }, 0, 2, ENC, "duplex_mode"}, |