summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
authorGyan Doshi <ffmpeg@gyani.pro>2018-08-22 16:23:58 +0530
committerGyan Doshi <ffmpeg@gyani.pro>2018-08-24 10:15:32 +0530
commitd0b48a960448cc8eb0e2c86e0804b14bdcb3e751 (patch)
tree32962f95fc98ee3b24f9e3934f11ae3a07326faf /libavdevice
parent35c84ae834de91a9c15fe63fe430274dcff2f9ba (diff)
avdevice/decklink_enc: print preroll and buffer size
Helpful in diagnosing latency issues.
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/decklink_enc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavdevice/decklink_enc.cpp b/libavdevice/decklink_enc.cpp
index 28ab928cd5..ee4c962add 100644
--- a/libavdevice/decklink_enc.cpp
+++ b/libavdevice/decklink_enc.cpp
@@ -193,6 +193,9 @@ static int decklink_setup_video(AVFormatContext *avctx, AVStream *st)
pthread_cond_init(&ctx->cond, NULL);
ctx->frames_buffer_available_spots = ctx->frames_buffer;
+ av_log(avctx, AV_LOG_DEBUG, "output: %s, preroll: %d, frames buffer size: %d\n",
+ avctx->url, ctx->frames_preroll, ctx->frames_buffer);
+
/* The device expects the framerate to be fixed. */
avpriv_set_pts_info(st, 64, st->time_base.num, st->time_base.den);