From b9617cac313dc77c27a4360a0f98e949eb6b4763 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 12 May 2009 11:20:08 +0200 Subject: [PATCH] ffdec: Update rank of ffdec_mpeg2video to SECONDARY to make it the default ffdec_mpeg2video is much faster, fixes bug #574461. --- ext/ffmpeg/gstffmpegdec.c | 6 ++++++ 1 file changed, 6 insertions(+) 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. -- 2.7.4