Commit fe739ceb authored by Christian Schaller's avatar Christian Schaller

set rank None for mp3 and mpeg2 element, fixes 162833

Original commit message from CVS:
set rank None for mp3 and mpeg2 element, fixes 162833
parent b108269c
2006-02-02 Christian Schaller <christian at fluendo dot com>
* Set rank NONE for mp3 and mpeg2video:
They don't work properly and having them autoplugged
gives people a bad impression and leads them to not grab
mad or fluendo mp3. Fixes #162833
2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
......
common @ 1140eabe
Subproject commit 0b93085188e83fe678ec5ded2823cd7c24dfa843
Subproject commit 1140eabed84dd1d8d6df7df88f5c8bdf20a8faa1
......@@ -214,7 +214,7 @@ gst_ffmpegdec_base_init (GstFFMpegDecClass * klass)
(params->in_plugin->type == CODEC_TYPE_VIDEO) ? "Video" : "Audio");
details.description = g_strdup_printf ("FFMPEG %s decoder",
params->in_plugin->name);
details.author = "Wim Taymans <wim.taymans@chello.be>, "
details.author = "Wim Taymans <wim@fluendo.com>, "
"Ronald Bultje <rbultje@ronald.bitfreak.net>";
gst_element_class_set_details (element_class, &details);
g_free (details.longname);
......@@ -1387,6 +1387,13 @@ gst_ffmpegdec_register (GstPlugin * plugin)
/* what's that? */
case CODEC_ID_SP5X:
rank = GST_RANK_NONE;
/* MP3 and MPEG2 have better alternatives and
the ffmpeg versions don't work properly feel
free to assign rank if you fix them */
case CODEC_ID_MP3:
rank = GST_RANK_NONE;
case CODEC_ID_MPEG2VIDEO:
rank = GST_RANK_NONE;
break;
}
if (!gst_element_register (plugin, type_name, rank, type)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment