mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-20 15:45:40 +08:00
avdevice/decklink: deprecate @mode syntax in device name to specify mode
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user