Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
fcfa0d91
Commit
fcfa0d91
authored
Apr 29, 2013
by
Rémi Denis-Courmont
Browse files
avcodec: H.263 can be accelerated too
(Maybe the list of accelerated codecs should be removed now...)
parent
3ec46dc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/codec/avcodec/video.c
View file @
fcfa0d91
...
...
@@ -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
)
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment