Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Jun 18, 2017
1 parent 845df52 commit c47be1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/codec/audio/AudioDecoderFFmpeg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ bool AudioDecoderFFmpeg::decode(const Packet &packet)
return false;
}
if (!got_frame_ptr) {
qWarning("[AudioDecoder] got_frame_ptr=false. decoded: %d, un: %d", ret, d.undecoded_size);
qWarning("[AudioDecoder] got_frame_ptr=false. decoded: %d, un: %d %s", ret, d.undecoded_size, av_err2str(ret));
return !packet.isEOF();
}
#if USE_AUDIO_FRAME
Expand Down
2 changes: 1 addition & 1 deletion src/codec/video/VideoDecoderFFmpegBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ static void SetColorDetailsByFFmpeg(VideoFrame *f, AVFrame* frame, AVCodecContex
cr = ColorRange_Full;
cs = ColorSpace_XYZ; // not here
} else if (!f->format().isRGB()) {
qDebug("prefer limited yuv range");
//qDebug("prefer limited yuv range");
cr = ColorRange_Limited;
}
}
Expand Down

0 comments on commit c47be1f

Please sign in to comment.