From: Sebastian Dröge Date: Tue, 12 May 2009 09:20:08 +0000 (+0200) Subject: ffdec: Update rank of ffdec_mpeg2video to SECONDARY to make it the default X-Git-Tag: 1.19.3~499^2~1343 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9617cac313dc77c27a4360a0f98e949eb6b4763;p=platform%2Fupstream%2Fgstreamer.git ffdec: Update rank of ffdec_mpeg2video to SECONDARY to make it the default ffdec_mpeg2video is much faster, fixes bug #574461. --- diff --git a/ext/ffmpeg/gstffmpegdec.c b/ext/ffmpeg/gstffmpegdec.c index 90b4717..8d7bc04 100644 --- a/ext/ffmpeg/gstffmpegdec.c +++ b/ext/ffmpeg/gstffmpegdec.c @@ -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.