diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-06-02 22:55:51 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-06-03 00:44:03 +0200 |
commit | 2366462429d9cc7ed9715c037f204fcefeff8ea4 (patch) | |
tree | e216d1cb8646b081d98d4eb71ffcdfbf422ef9a6 /libavdevice | |
parent | df96f22d8f2b0b40d5511cde1c4cbb4a6f824c32 (diff) | |
download | ffmpeg-2366462429d9cc7ed9715c037f204fcefeff8ea4.tar.gz |
Replace #ifdef + av_log() combinations by av_dlog().
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/dv1394.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libavdevice/dv1394.c b/libavdevice/dv1394.c index c9b7a69d6f..f414eb3388 100644 --- a/libavdevice/dv1394.c +++ b/libavdevice/dv1394.c @@ -177,15 +177,13 @@ restart_poll: av_log(context, AV_LOG_ERROR, "Failed to get status: %s\n", strerror(errno)); return AVERROR(EIO); } -#ifdef DV1394_DEBUG - av_log(context, AV_LOG_DEBUG, "DV1394: status\n" + av_dlog(context, "DV1394: status\n" "\tactive_frame\t%d\n" "\tfirst_clear_frame\t%d\n" "\tn_clear_frames\t%d\n" "\tdropped_frames\t%d\n", s.active_frame, s.first_clear_frame, s.n_clear_frames, s.dropped_frames); -#endif dv->avail = s.n_clear_frames; dv->index = s.first_clear_frame; @@ -200,10 +198,8 @@ restart_poll: } } -#ifdef DV1394_DEBUG - av_log(context, AV_LOG_DEBUG, "index %d, avail %d, done %d\n", dv->index, dv->avail, + av_dlog(context, "index %d, avail %d, done %d\n", dv->index, dv->avail, dv->done); -#endif size = dv_produce_packet(dv->dv_demux, pkt, dv->ring + (dv->index * DV1394_PAL_FRAME_SIZE), |