avvidec: Bring mpeg video decoders up to PRIMARY rank
authorEdward Hervey <edward@centricular.com>
Thu, 21 Jan 2016 16:35:51 +0000 (17:35 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 21 Jan 2016 16:35:51 +0000 (17:35 +0100)
We should have done that ages ago ...

https://bugzilla.gnome.org/show_bug.cgi?id=574461

ext/libav/gstavviddec.c

index 0fbd83f70b2bd5e624e9ef2d69d31c1e8272d845..9e99d3a7d6906f88e494a8c3d4694cf1d4c5667c 100644 (file)
@@ -2098,6 +2098,8 @@ gst_ffmpegviddec_register (GstPlugin * plugin)
      * msmpeg4v3 same, as it outperforms divxdec for divx3 playback.
      * VC1/WMV3 are not working and thus unpreferred for now. */
     switch (in_plugin->id) {
+      case AV_CODEC_ID_MPEG1VIDEO:
+      case AV_CODEC_ID_MPEG2VIDEO:
       case AV_CODEC_ID_MPEG4:
       case AV_CODEC_ID_MSMPEG4V3:
       case AV_CODEC_ID_H264: