[FFmpeg-devel] [PATCH] avdevice/decklink_dec: fix no warning message if no input signal detected
lance.lmwang at gmail.com
lance.lmwang at gmail.com
Thu Jun 18 17:55:34 EEST 2020
From: Limin Wang <lance.lmwang at gmail.com>
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
---
libavdevice/decklink_dec.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp
index 82106aa..90569dc 100644
--- a/libavdevice/decklink_dec.cpp
+++ b/libavdevice/decklink_dec.cpp
@@ -751,7 +751,7 @@ HRESULT decklink_input_callback::VideoInputFrameArrived(
}
}
- if (!no_video) {
+ if (no_video) {
av_log(avctx, AV_LOG_WARNING, "Frame received (#%lu) - No input signal detected "
"- Frames dropped %u\n", ctx->frameCount, ++ctx->dropped);
}
--
2.6.4
More information about the ffmpeg-devel
mailing list