mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 04:30:02 +00:00
Revert 17308.
The above commit makes ff_xvmc_decode_mb to output one log entry for each decoded MB, causing massive slowdown. Originally committed as revision 17312 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5f5e6af169
commit
1a90cf3c98
@ -290,14 +290,13 @@ void ff_xvmc_decode_mb(MpegEncContext *s)
|
||||
}
|
||||
render->filled_mv_blocks_num++;
|
||||
|
||||
assert(render->filled_mv_blocks_num <= render->total_number_of_mv_blocks);
|
||||
assert(render->next_free_data_block_num <= render->total_number_of_data_blocks);
|
||||
/* The above condition should not be able to fail as long as this function
|
||||
/* The above conditions should not be able to fail as long as this function
|
||||
* is used and the following 'if ()' automatically calls a callback to free
|
||||
* blocks. */
|
||||
|
||||
|
||||
if (render->filled_mv_blocks_num >= render->total_number_of_mv_blocks)
|
||||
ff_draw_horiz_band(s, 0, 0);
|
||||
else
|
||||
av_log(s->avctx, AV_LOG_ERROR, "Not all blocks have been processed.\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user