diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-08-22 16:58:35 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-08-22 16:58:59 +0200 |
commit | 5b71ae2b653a48062c73530130d628f6225cf0cf (patch) | |
tree | 9258e3e790f6483700b7a934b574b139b2b4a0e6 /libavcodec/h264_ps.c | |
parent | 124deea1a0ccc4296cc6021231a7e6fbf336ff3a (diff) | |
download | ffmpeg-streaming-5b71ae2b653a48062c73530130d628f6225cf0cf.zip ffmpeg-streaming-5b71ae2b653a48062c73530130d628f6225cf0cf.tar.gz |
Be more verbose about H264 cropping errors.
Diffstat (limited to 'libavcodec/h264_ps.c')
-rw-r--r-- | libavcodec/h264_ps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264_ps.c b/libavcodec/h264_ps.c index 3c7b04a..fa99372 100644 --- a/libavcodec/h264_ps.c +++ b/libavcodec/h264_ps.c @@ -403,10 +403,10 @@ int ff_h264_decode_seq_parameter_set(H264Context *h){ sps->crop_top = get_ue_golomb(&s->gb); sps->crop_bottom= get_ue_golomb(&s->gb); if(sps->crop_left || sps->crop_top){ - av_log(h->s.avctx, AV_LOG_ERROR, "insane cropping not completely supported, this could look slightly wrong ...\n"); + av_log(h->s.avctx, AV_LOG_ERROR, "insane cropping not completely supported, this could look slightly wrong ... (left: %d, top: %d)\n", sps->crop_left, sps->crop_top); } if(sps->crop_right >= crop_horizontal_limit || sps->crop_bottom >= crop_vertical_limit){ - av_log(h->s.avctx, AV_LOG_ERROR, "brainfart cropping not supported, this could look slightly wrong ...\n"); + av_log(h->s.avctx, AV_LOG_ERROR, "brainfart cropping not supported, this could look slightly wrong ... (right: %d, bottom: %d)\n", sps->crop_right, sps->crop_bottom); } }else{ sps->crop_left = |