]> git.sesse.net Git - vlc/commitdiff
* modules/codec/ffmpeg/video.c: direct rendering needs to be disabled for --ffmpeg...
authorGildas Bazin <gbazin@videolan.org>
Thu, 29 Apr 2004 21:57:23 +0000 (21:57 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 29 Apr 2004 21:57:23 +0000 (21:57 +0000)
modules/codec/ffmpeg/video.c

index 7c58a47aeea418b3d06f860cf750bc636e6184cc..141944447e5d22b489c27b042e5f2a0742b90a97 100644 (file)
@@ -5,7 +5,7 @@
  * $Id$
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
- *          Gildas Bazin <gbazin@netcourrier.com>
+ *          Gildas Bazin <gbazin@videolan.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -248,7 +248,8 @@ int E_(InitVideoDec)( decoder_t *p_dec, AVCodecContext *p_context,
         p_sys->p_context->pix_fmt != PIX_FMT_YUV422P &&
         /* H264 uses too many reference frames */
         p_sys->i_codec_id != CODEC_ID_H264 &&
-        !(p_sys->p_context->width % 16) && !(p_sys->p_context->height % 16) )
+        !(p_sys->p_context->width % 16) && !(p_sys->p_context->height % 16) &&
+        !p_sys->p_context->debug_mv )
     {
         /* Some codecs set pix_fmt only after the 1st frame has been decoded,
          * so we need to do another check in ffmpeg_GetFrameBuf() */