summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-29 20:35:15 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-29 20:35:15 +0100
commit9bd3a9bd7f1c9a618313b1f9eaab96c9b7e63013 (patch)
tree7183f25213d310ccd163560f247d4483583165ea /src
parentc535a4c6bd153c1918cfd0d907fbb197519d535d (diff)
downloadadvtime-9bd3a9bd7f1c9a618313b1f9eaab96c9b7e63013.tar.gz
advtime-9bd3a9bd7f1c9a618313b1f9eaab96c9b7e63013.tar.bz2
advtime-9bd3a9bd7f1c9a618313b1f9eaab96c9b7e63013.zip
advtime: Remove old debug output
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 */