Browse Source

flashsvenc: convert some debug av_log() to av_dlog()

tags/n0.9
Diego Biurrun 14 years ago
parent
commit
b88523c25d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/flashsvenc.c

+ 2
- 2
libavcodec/flashsvenc.c View File

@@ -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;


Loading…
Cancel
Save