]> git.sesse.net Git - vlc/commitdiff
avcodec: H.263 can be accelerated too
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 29 Apr 2013 16:14:42 +0000 (19:14 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 29 Apr 2013 16:14:42 +0000 (19:14 +0300)
(Maybe the list of accelerated codecs should be removed now...)

modules/codec/avcodec/video.c

index 1366784466a68ae2abc73291c8e5519da918c1a9..12695425728ed5f88e0ebbdafa0caf39a9af52f5 100644 (file)
@@ -336,7 +336,7 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context,
     char *hw = var_CreateGetString( p_dec, "avcodec-hw" ); /* FIXME */
     if( (hw == NULL || strcasecmp( hw, "none" )) &&
         (i_codec_id == AV_CODEC_ID_MPEG1VIDEO || i_codec_id == AV_CODEC_ID_MPEG2VIDEO ||
-         i_codec_id == AV_CODEC_ID_MPEG4 ||
+         i_codec_id == AV_CODEC_ID_MPEG4 || i_codec_id == AV_CODEC_ID_H263 ||
          i_codec_id == AV_CODEC_ID_H264 ||
          i_codec_id == AV_CODEC_ID_VC1 || i_codec_id == AV_CODEC_ID_WMV3) )
     {