[FFmpeg-cvslog] flashsvenc: convert some debug av_log() to av_dlog()
Diego Biurrun
git at videolan.org
Sat Jul 16 19:49:06 CEST 2011
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Jul 15 15:26:49 2011 +0200| [b88523c25da37fb45b2df720218f5868b8e891fc] | committer: Diego Biurrun
flashsvenc: convert some debug av_log() to av_dlog()
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b88523c25da37fb45b2df720218f5868b8e891fc
---
libavcodec/flashsvenc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/flashsvenc.c b/libavcodec/flashsvenc.c
index 7a66bc2..5d04549 100644
--- a/libavcodec/flashsvenc.c
+++ b/libavcodec/flashsvenc.c
@@ -187,7 +187,7 @@ static int encode_bitstream(FlashSVContext *s, AVFrame *p, uint8_t *buf,
bytestream_put_be16(&ptr, (unsigned int) zsize);
buf_pos += zsize + 2;
- //av_log(avctx, AV_LOG_ERROR, "buf_pos = %d\n", buf_pos);
+ av_dlog(avctx, "buf_pos = %d\n", buf_pos);
} else {
pred_blocks++;
bytestream_put_be16(&ptr, 0);
@@ -266,7 +266,7 @@ static int flashsv_encode_frame(AVCodecContext *avctx, uint8_t *buf,
p->pict_type = AV_PICTURE_TYPE_I;
p->key_frame = 1;
s->last_key_frame = avctx->frame_number;
- av_log(avctx, AV_LOG_DEBUG, "Inserting key frame at frame %d\n", avctx->frame_number);
+ av_dlog(avctx, "Inserting keyframe at frame %d\n", avctx->frame_number);
} else {
p->pict_type = AV_PICTURE_TYPE_P;
p->key_frame = 0;
More information about the ffmpeg-cvslog
mailing list