History

avdevice/decklink_enc: print preroll and buffer size

Helpful in diagnosing latency issues.

Gyan Doshi committed 8 years ago

Commit d0b48a91 parent 35c84ae1 file · +3 −0Browse files

Unified · Split

libavdevice/decklink_enc.cpp+3−0
@@ -193,6 +193,9 @@ static int decklink_setup_video(AVFormatContext *avctx, AVStream *st) · 192 unmodified lines
193 pthread_cond_init(&ctx->cond, NULL);193 pthread_cond_init(&ctx->cond, NULL);
194 ctx->frames_buffer_available_spots = ctx->frames_buffer;194 ctx->frames_buffer_available_spots = ctx->frames_buffer;
195 195
196 av_log(avctx, AV_LOG_DEBUG, "output: %s, preroll: %d, frames buffer size: %d\n",
197 avctx->url, ctx->frames_preroll, ctx->frames_buffer);
198
196 /* The device expects the framerate to be fixed. */199 /* The device expects the framerate to be fixed. */
197 avpriv_set_pts_info(st, 64, st->time_base.num, st->time_base.den);200 avpriv_set_pts_info(st, 64, st->time_base.num, st->time_base.den);
198 201

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t