xvmc works with MPEG-2 as well as MPEG-1, note this in the codec long_name.
authorDiego Biurrun <diego@biurrun.de>
Mon, 2 Mar 2009 05:20:00 +0000 (05:20 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 2 Mar 2009 05:20:00 +0000 (05:20 +0000)
Originally committed as revision 17717 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpeg12.c

index 5a3e3bf6b4ac51cc21b112ad3fdf608e4a25f340..9e67ee5c618b1b24add4ca89df2370574e5cff4d 100644 (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