Commit b8fac6a7 authored by Jean-Paul Saman's avatar Jean-Paul Saman

avcodec: H263 can be accelerated too.

parent eb14ae7d
...@@ -363,6 +363,9 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context, ...@@ -363,6 +363,9 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context,
if( (b_use_hw && (hw == NULL || strcasecmp( hw, "none" ))) && if( (b_use_hw && (hw == NULL || strcasecmp( hw, "none" ))) &&
(i_codec_id == CODEC_ID_MPEG1VIDEO || i_codec_id == CODEC_ID_MPEG2VIDEO || (i_codec_id == CODEC_ID_MPEG1VIDEO || i_codec_id == CODEC_ID_MPEG2VIDEO ||
i_codec_id == CODEC_ID_MPEG4 || i_codec_id == CODEC_ID_MPEG4 ||
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 54, 92, 100 )
i_codec_id == AV_CODEC_ID_H263 ||
#endif
i_codec_id == CODEC_ID_H264 || i_codec_id == CODEC_ID_H264 ||
i_codec_id == CODEC_ID_VC1 || i_codec_id == CODEC_ID_WMV3) ) i_codec_id == CODEC_ID_VC1 || i_codec_id == 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