Skip to content

Commit

Permalink
ffmpeg: update diagnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Feb 18, 2021
1 parent 14d6627 commit b93915c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/media/ffmpeg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ int ffmpeg_stream(notcurses* nc, ncvisual* ncv, float timescale,
}
++frame;
uint64_t duration = ncv->details->frame->pkt_duration * tbase * NANOSECS_IN_SEC;
//fprintf(stderr, "use: %u dur: %ju ts: %ju cctx: %f fctx: %f\n", usets, duration, ts, av_q2d(ncv->details->codecctx->time_base), av_q2d(ncv->details->fmtctx->streams[ncv->stream_index]->time_base));
//fprintf(stderr, "use: %u dur: %ju ts: %ju cctx: %f fctx: %f\n", usets, duration, ts, av_q2d(ncv->details->codecctx->time_base), av_q2d(ncv->details->fmtctx->streams[ncv->details->stream_index]->time_base));
double schedns = nsbegin;
if(usets){
if(tbase == 0){
Expand Down

0 comments on commit b93915c

Please sign in to comment.