xvmc works with MPEG-2 as well as MPEG-1, note this in the codec long_name.

Originally committed as revision 17717 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2009-03-02 05:20:00 +00:00
parent 0ffbc258aa
commit 326b554ccf
1 changed files with 1 additions and 1 deletions

View File

@ -2534,7 +2534,7 @@ AVCodec mpeg_xvmc_decoder = {
mpeg_decode_frame,
CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED| CODEC_CAP_HWACCEL | CODEC_CAP_DELAY,
.flush= ff_mpeg_flush,
.long_name = NULL_IF_CONFIG_SMALL("MPEG-1 video XvMC (X-Video Motion Compensation)"),
.long_name = NULL_IF_CONFIG_SMALL("MPEG-1/2 video XvMC (X-Video Motion Compensation)"),
};
#endif