summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2019-08-21 22:52:10 +0200
committerMarton Balint <cus@passwd.hu>2020-01-03 18:13:22 +0100
commit2b7097ef2795c78c264e2cb81b4ad8254eb13c60 (patch)
tree5fb928e2e4e95ec7589fec0a2b92c576a920cad0 /libavdevice
parent78a233e6e914d480d1c96ed6b5dcef2bd3c2695a (diff)
downloadffmpeg-2b7097ef2795c78c264e2cb81b4ad8254eb13c60.tar.gz
avdevice/decklink_dec: remove -bm_v210 option
Deprecated since Sep 28, 2017. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/decklink_common_c.h1
-rw-r--r--libavdevice/decklink_dec.cpp5
-rw-r--r--libavdevice/decklink_dec_c.c1
3 files changed, 0 insertions, 7 deletions
diff --git a/libavdevice/decklink_common_c.h b/libavdevice/decklink_common_c.h
index b78630b5fc..88b1eae18d 100644
--- a/libavdevice/decklink_common_c.h
+++ b/libavdevice/decklink_common_c.h
@@ -42,7 +42,6 @@ struct decklink_cctx {
int list_formats;
int64_t teletext_lines;
double preroll;
- int v210;
int audio_channels;
int audio_depth;
int duplex_mode;
diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp
index 19ea1eccad..0360bd16fb 100644
--- a/libavdevice/decklink_dec.cpp
+++ b/libavdevice/decklink_dec.cpp
@@ -1054,11 +1054,6 @@ av_cold int ff_decklink_read_header(AVFormatContext *avctx)
return AVERROR_EXIT;
}
- if (cctx->v210) {
- av_log(avctx, AV_LOG_WARNING, "The bm_v210 option is deprecated and will be removed. Please use the -raw_format yuv422p10.\n");
- cctx->raw_format = MKBETAG('v','2','1','0');
- }
-
ret = ff_decklink_init_device(avctx, avctx->url);
if (ret < 0)
return ret;
diff --git a/libavdevice/decklink_dec_c.c b/libavdevice/decklink_dec_c.c
index 99439f91ae..b59876994a 100644
--- a/libavdevice/decklink_dec_c.c
+++ b/libavdevice/decklink_dec_c.c
@@ -33,7 +33,6 @@ static const AVOption options[] = {
{ "list_devices", "list available devices" , OFFSET(list_devices), AV_OPT_TYPE_INT , { .i64 = 0 }, 0, 1, DEC },
{ "list_formats", "list supported formats" , OFFSET(list_formats), AV_OPT_TYPE_INT , { .i64 = 0 }, 0, 1, DEC },
{ "format_code", "set format by fourcc" , OFFSET(format_code), AV_OPT_TYPE_STRING, { .str = NULL}, 0, 0, DEC },
- { "bm_v210", "v210 10 bit per channel" , OFFSET(v210), AV_OPT_TYPE_INT , { .i64 = 0 }, 0, 1, DEC },
{ "raw_format", "pixel format to be returned by the card when capturing" , OFFSET(raw_format), AV_OPT_TYPE_INT, { .i64 = MKBETAG('2','v','u','y')}, 0, UINT_MAX, DEC, "raw_format" },
{ "uyvy422", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = MKBETAG('2','v','u','y') }, 0, 0, DEC, "raw_format"},
{ "yuv422p10", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = MKBETAG('v','2','1','0') }, 0, 0, DEC, "raw_format"},