Commit fcfa0d91 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

avcodec: H.263 can be accelerated too

(Maybe the list of accelerated codecs should be removed now...)
parent 3ec46dc7
...@@ -336,7 +336,7 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context, ...@@ -336,7 +336,7 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context,
char *hw = var_CreateGetString( p_dec, "avcodec-hw" ); /* FIXME */ char *hw = var_CreateGetString( p_dec, "avcodec-hw" ); /* FIXME */
if( (hw == NULL || strcasecmp( hw, "none" )) && 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_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_H264 ||
i_codec_id == AV_CODEC_ID_VC1 || i_codec_id == AV_CODEC_ID_WMV3) ) i_codec_id == AV_CODEC_ID_VC1 || i_codec_id == AV_CODEC_ID_WMV3) )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment