aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-08-29 18:41:50 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-08-31 16:27:27 +0200
commit6da590d0a5024e0624aede379d29467f194cacb0 (patch)
tree190a625b2ff58ae70270d30e7079fb6e680bf8ed
parent22ee131e85983769a6901d190feb9d01a410e0b5 (diff)
downloadffmpeg-6da590d0a5024e0624aede379d29467f194cacb0.tar.gz
lavdev/lavfi: add debug traces in lavfi_read_packet()
-rw-r--r--libavdevice/lavfi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c
index 7987430cee..ce4189ff1c 100644
--- a/libavdevice/lavfi.c
+++ b/libavdevice/lavfi.c
@@ -230,11 +230,14 @@ static int lavfi_read_packet(AVFormatContext *avctx, AVPacket *pkt)
if (ret < 0)
return ret;
d = av_rescale_q(picref->pts, tb, AV_TIME_BASE_Q);
+ av_dlog(avctx, "sink_idx:%d time:%f\n", i, d);
+
if (d < min_pts) {
min_pts = d;
min_pts_sink_idx = i;
}
}
+ av_dlog(avctx, "min_pts_sink_idx:%i\n", min_pts_sink_idx);
av_vsink_buffer_get_video_buffer_ref(lavfi->sinks[min_pts_sink_idx],
&picref, 0);