Commit 326b554c authored by Diego Biurrun's avatar Diego Biurrun

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
parent 0ffbc258
...@@ -2534,7 +2534,7 @@ AVCodec mpeg_xvmc_decoder = { ...@@ -2534,7 +2534,7 @@ AVCodec mpeg_xvmc_decoder = {
mpeg_decode_frame, mpeg_decode_frame,
CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED| CODEC_CAP_HWACCEL | CODEC_CAP_DELAY, CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED| CODEC_CAP_HWACCEL | CODEC_CAP_DELAY,
.flush= ff_mpeg_flush, .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 #endif
......
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