[FFmpeg-cvslog] r17646 - trunk/libavcodec/mpegvideo.c
Benoit Fouet
benoit.fouet
Mon Mar 2 10:22:21 CET 2009
On 02/27/2009 09:47 PM, Michael Niedermayer wrote:
> On Fri, Feb 27, 2009 at 04:51:15PM +0100, benoit wrote:
>
>> Author: benoit
>> Date: Fri Feb 27 16:51:15 2009
>> New Revision: 17646
>>
>> Log:
>> Make ff_print_debug_info() a no-op when using HW acceleration.
>> Patch by Gwenol? Beauchesne.
>>
>> Modified:
>> trunk/libavcodec/mpegvideo.c
>>
>> Modified: trunk/libavcodec/mpegvideo.c
>> ==============================================================================
>> --- trunk/libavcodec/mpegvideo.c Fri Feb 27 16:49:32 2009 (r17645)
>> +++ trunk/libavcodec/mpegvideo.c Fri Feb 27 16:51:15 2009 (r17646)
>> @@ -1096,6 +1096,7 @@ static void draw_arrow(uint8_t *buf, int
>> */
>> void ff_print_debug_info(MpegEncContext *s, AVFrame *pict){
>>
>> + if(s->avctx->hwaccel) return;
>> if(!pict || !pict->mb_type) return;
>>
>
> these 2 ifs() could be merged
> not sure how i missed that
>
>
> [...]
>
>
done
Ben
More information about the ffmpeg-cvslog
mailing list