Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
... | ... |
@@ -2040,7 +2040,10 @@ double get_rotation(AVStream *st) |
2040 | 2040 |
theta -= 360*floor(theta/360 + 0.9/360); |
2041 | 2041 |
|
2042 | 2042 |
if (fabs(theta - 90*round(theta/90)) > 2) |
2043 |
- av_log_ask_for_sample(NULL, "Odd rotation angle\n"); |
|
2043 |
+ av_log(NULL, AV_LOG_WARNING, "Odd rotation angle.\n" |
|
2044 |
+ "If you want to help, upload a sample " |
|
2045 |
+ "of this file to ftp://upload.ffmpeg.org/incoming/ " |
|
2046 |
+ "and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)"); |
|
2044 | 2047 |
|
2045 | 2048 |
return theta; |
2046 | 2049 |
} |
... | ... |
@@ -2063,12 +2063,13 @@ static int decode_video(InputStream *ist, AVPacket *pkt, int *got_output) |
2063 | 2063 |
if (ist->dec_ctx->codec_id == AV_CODEC_ID_H264) { |
2064 | 2064 |
ist->st->codec->has_b_frames = ist->dec_ctx->has_b_frames; |
2065 | 2065 |
} else |
2066 |
- av_log_ask_for_sample( |
|
2067 |
- ist->dec_ctx, |
|
2068 |
- "has_b_frames is larger in decoder than demuxer %d > %d ", |
|
2069 |
- ist->dec_ctx->has_b_frames, |
|
2070 |
- ist->st->codec->has_b_frames |
|
2071 |
- ); |
|
2066 |
+ av_log(ist->dec_ctx, AV_LOG_WARNING, |
|
2067 |
+ "has_b_frames is larger in decoder than demuxer %d > %d.\n" |
|
2068 |
+ "If you want to help, upload a sample " |
|
2069 |
+ "of this file to ftp://upload.ffmpeg.org/incoming/ " |
|
2070 |
+ "and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)", |
|
2071 |
+ ist->dec_ctx->has_b_frames, |
|
2072 |
+ ist->st->codec->has_b_frames); |
|
2072 | 2073 |
} |
2073 | 2074 |
|
2074 | 2075 |
if (*got_output || ret<0) |