diff --git a/ext/flac/gstflac.c b/ext/flac/gstflac.c index a198279fcc..95861e3c5d 100644 --- a/ext/flac/gstflac.c +++ b/ext/flac/gstflac.c @@ -38,7 +38,7 @@ plugin_init (GstPlugin * plugin) bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); #endif - if (!gst_element_register (plugin, "flacenc", GST_RANK_NONE, + if (!gst_element_register (plugin, "flacenc", GST_RANK_PRIMARY, GST_TYPE_FLAC_ENC)) return FALSE; if (!gst_element_register (plugin, "flacdec", GST_RANK_PRIMARY, diff --git a/ext/jpeg/gstjpeg.c b/ext/jpeg/gstjpeg.c index ddb1015258..731343439c 100644 --- a/ext/jpeg/gstjpeg.c +++ b/ext/jpeg/gstjpeg.c @@ -33,7 +33,7 @@ static gboolean plugin_init (GstPlugin * plugin) { - if (!gst_element_register (plugin, "jpegenc", GST_RANK_NONE, + if (!gst_element_register (plugin, "jpegenc", GST_RANK_PRIMARY, GST_TYPE_JPEGENC)) return FALSE; diff --git a/ext/libpng/gstpng.c b/ext/libpng/gstpng.c index d02bf0d21a..6a91915d8f 100644 --- a/ext/libpng/gstpng.c +++ b/ext/libpng/gstpng.c @@ -33,7 +33,8 @@ plugin_init (GstPlugin * plugin) GST_TYPE_PNGDEC)) return FALSE; - if (!gst_element_register (plugin, "pngenc", GST_RANK_NONE, GST_TYPE_PNGENC)) + if (!gst_element_register (plugin, "pngenc", GST_RANK_PRIMARY, + GST_TYPE_PNGENC)) return FALSE; return TRUE; diff --git a/ext/speex/gstspeex.c b/ext/speex/gstspeex.c index 899cfecbdf..3cd7cbfc4f 100644 --- a/ext/speex/gstspeex.c +++ b/ext/speex/gstspeex.c @@ -29,7 +29,7 @@ static gboolean plugin_init (GstPlugin * plugin) { - if (!gst_element_register (plugin, "speexenc", GST_RANK_NONE, + if (!gst_element_register (plugin, "speexenc", GST_RANK_PRIMARY, GST_TYPE_SPEEX_ENC)) return FALSE; diff --git a/gst/avi/gstavi.c b/gst/avi/gstavi.c index 2bd50753a8..38ef65088b 100644 --- a/gst/avi/gstavi.c +++ b/gst/avi/gstavi.c @@ -42,7 +42,7 @@ plugin_init (GstPlugin * plugin) if (!gst_element_register (plugin, "avidemux", GST_RANK_PRIMARY, GST_TYPE_AVI_DEMUX) || - !gst_element_register (plugin, "avimux", GST_RANK_NONE, + !gst_element_register (plugin, "avimux", GST_RANK_PRIMARY, GST_TYPE_AVI_MUX) || !gst_element_register (plugin, "avisubtitle", GST_RANK_PRIMARY, GST_TYPE_AVI_SUBTITLE)) { diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c index ad9a9ab012..3c39191da1 100644 --- a/gst/matroska/matroska-mux.c +++ b/gst/matroska/matroska-mux.c @@ -2584,5 +2584,5 @@ gboolean gst_matroska_mux_plugin_init (GstPlugin * plugin) { return gst_element_register (plugin, "matroskamux", - GST_RANK_NONE, GST_TYPE_MATROSKA_MUX); + GST_RANK_PRIMARY, GST_TYPE_MATROSKA_MUX); }