summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/advtime.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/advtime.c b/src/advtime.c
index 7d6c2f5..376d983 100644
--- a/src/advtime.c
+++ b/src/advtime.c
@@ -136,21 +136,7 @@ main(int argc, char **argv)
ret = video_decode_get_frame(vd, &frame_a);
if (ret < 0)
return -ret;
-/*
- printf("fps: %d\n", vd->fmt_ctx->fps_probe_size);
- printf("streams: %d\n", vd->fmt_ctx->nb_streams);
- printf("filename: %s\n", vd->fmt_ctx->filename);
- printf("streams: %d\n", vd->fmt_ctx->streams[0]->duration);
- printf("duration: %d\n", vd->fmt_ctx->streams[1]->duration);
- printf("nb_frames: %d\n", vd->fmt_ctx->streams[0]->nb_frames);
- printf("avg frame rate: %f\n",
- av_q2d(vd->fmt_ctx->streams[0]->avg_frame_rate));
- printf("real frame rate: %f\n",
- av_q2d(vd->fmt_ctx->streams[0]->r_frame_rate));
- printf("first: %ji\n", vd->fmt_ctx->streams[0]->first_dts);
- printf("cur: %ji\n", vd->fmt_ctx->streams[0]->cur_dts);
- printf("reference: %ji\n", vd->fmt_ctx->streams[0]->reference_dts);
-*/
+
for (int i = 0; video_decode_get_frame(vd, &frame_b) > 0; ++i) {
if (frame_flag) /* print frame number */