aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/decklink_dec.cpp
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2017-03-25 17:52:11 +0100
committerMarton Balint <cus@passwd.hu>2017-03-28 22:00:16 +0200
commit77d2cb88741a9ac6ab6a3c53b32b01cec07b99b2 (patch)
treef6bae5f789d9b0192a2fb33e9e898e42f114f4da /libavdevice/decklink_dec.cpp
parentc395d230b12834752d28e81a74233daa816a26c2 (diff)
downloadffmpeg-77d2cb88741a9ac6ab6a3c53b32b01cec07b99b2.tar.gz
avdevice/decklink: deprecate @mode syntax in device name to specify mode
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice/decklink_dec.cpp')
-rw-r--r--libavdevice/decklink_dec.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp
index ffe65db0d0..8cc1bdf7c9 100644
--- a/libavdevice/decklink_dec.cpp
+++ b/libavdevice/decklink_dec.cpp
@@ -516,6 +516,7 @@ av_cold int ff_decklink_read_header(AVFormatContext *avctx)
strcpy (fname, avctx->filename);
tmp=strchr (fname, '@');
if (tmp != NULL) {
+ av_log(avctx, AV_LOG_WARNING, "The @mode syntax is deprecated and will be removed. Please use the -format_code option.\n");
mode_num = atoi (tmp+1);
*tmp = 0;
}