ffdec: Update rank of ffdec_mpeg2video to SECONDARY to make it the default

ffdec_mpeg2video is much faster, fixes bug #574461.
This commit is contained in:
Sebastian Dröge 2009-05-12 11:20:08 +02:00
parent fb613191ae
commit b9617cac31

View file

@ -2714,6 +2714,12 @@ gst_ffmpegdec_register (GstPlugin * plugin)
case CODEC_ID_COOK:
rank = GST_RANK_PRIMARY;
break;
case CODEC_ID_MPEG2VIDEO:
/* We have a good MPEG2 decoder in -ugly but this one is a lot
* faster, especially at high resolutions. See bug #574461
*/
rank = GST_RANK_SECONDARY;
break;
case CODEC_ID_DVVIDEO:
/* we have a good dv decoder, fast on both ppc as well as x86. they say
libdv's quality is better though. leave as secondary.