summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-03-16 08:57:35 +0000
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-04-19 12:41:59 +0100
commit1a3eb042c704dea190c644def5b32c9cee8832b8 (patch)
tree16244f5b8bb59a8f09d1b740167389c25df5da19 /libavdevice
parentc253340ae6f74ffd8798bbd476e46d1b33a2d56e (diff)
Replace av_dlog with normal av_log at trace level
This applies to every library where performance is not critical.
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/dv1394.c4
-rw-r--r--libavdevice/fbdev.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/libavdevice/dv1394.c b/libavdevice/dv1394.c
index d259e1a14f..addf1ade67 100644
--- a/libavdevice/dv1394.c
+++ b/libavdevice/dv1394.c
@@ -160,7 +160,7 @@ restart_poll:
av_log(context, AV_LOG_ERROR, "Failed to get status: %s\n", strerror(errno));
return AVERROR(EIO);
}
- av_dlog(context, "DV1394: status\n"
+ av_log(context, AV_LOG_TRACE, "DV1394: status\n"
"\tactive_frame\t%d\n"
"\tfirst_clear_frame\t%d\n"
"\tn_clear_frames\t%d\n"
@@ -181,7 +181,7 @@ restart_poll:
}
}
- av_dlog(context, "index %d, avail %d, done %d\n", dv->index, dv->avail,
+ av_log(context, AV_LOG_TRACE, "index %d, avail %d, done %d\n", dv->index, dv->avail,
dv->done);
size = avpriv_dv_produce_packet(dv->dv_demux, pkt,
diff --git a/libavdevice/fbdev.c b/libavdevice/fbdev.c
index a83b4f1ba4..27e2ed30db 100644
--- a/libavdevice/fbdev.c
+++ b/libavdevice/fbdev.c
@@ -199,7 +199,7 @@ static int fbdev_read_packet(AVFormatContext *avctx, AVPacket *pkt)
/* wait based on the frame rate */
curtime = av_gettime();
delay = fbdev->time_frame - curtime;
- av_dlog(avctx,
+ av_log(avctx, AV_LOG_TRACE,
"time_frame:%"PRId64" curtime:%"PRId64" delay:%"PRId64"\n",
fbdev->time_frame, curtime, delay);
if (delay > 0) {