[FFmpeg-cvslog] ffmpeg: use av_log_ask_for_sample() instead of duplicating avpriv_request_sample()
Michael Niedermayer
git at videolan.org
Tue Jun 3 16:12:40 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jun 3 16:05:37 2014 +0200| [576654302ba3ff04c9b5eaee9e21799dcb3f32c3] | committer: Michael Niedermayer
ffmpeg: use av_log_ask_for_sample() instead of duplicating avpriv_request_sample()
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=576654302ba3ff04c9b5eaee9e21799dcb3f32c3
---
ffmpeg.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index 42fed76..5b47b42 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1864,10 +1864,7 @@ static int decode_video(InputStream *ist, AVPacket *pkt, int *got_output)
// or the parser does not has_b_frames correctly
// ist->st->codec->has_b_frames = ist->dec_ctx->has_b_frames;
if (ist->st->codec->has_b_frames < ist->dec_ctx->has_b_frames) {
- av_log(ist->dec_ctx, AV_LOG_WARNING, "has_b_frames is larger in decoder than demuxer");
- av_log(ist->dec_ctx, AV_LOG_WARNING, "If you want to help, upload a sample "
- "of this file to ftp://upload.ffmpeg.org/incoming/ "
- "and contact the ffmpeg-devel mailing list. (ffmpeg-devel at ffmpeg.org)\n");
+ av_log_ask_for_sample(ist->dec_ctx, "has_b_frames is larger in decoder than demuxer");
}
if (*got_output || ret<0 || pkt->size)
More information about the ffmpeg-cvslog
mailing list