[FFmpeg-cvslog] r17646 - trunk/libavcodec/mpegvideo.c

Michael Niedermayer michaelni
Fri Feb 27 21:47:06 CET 2009


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


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20090227/1a88622b/attachment.pgp>



More information about the ffmpeg-cvslog mailing list