Add RANKS for various encoders and muxers
authorChristian Schaller <christian.schaller@collabora.co.uk>
Thu, 7 May 2009 17:10:08 +0000 (18:10 +0100)
committerChristian Schaller <christian.schaller@collabora.co.uk>
Thu, 7 May 2009 17:10:08 +0000 (18:10 +0100)
ext/flac/gstflac.c
ext/jpeg/gstjpeg.c
ext/libpng/gstpng.c
ext/speex/gstspeex.c
gst/avi/gstavi.c
gst/matroska/matroska-mux.c

index a198279..95861e3 100644 (file)
@@ -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,
index ddb1015..7313434 100644 (file)
@@ -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;
 
index d02bf0d..6a91915 100644 (file)
@@ -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;
index 899cfec..3cd7cbf 100644 (file)
@@ -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;
 
index 2bd5075..38ef650 100644 (file)
@@ -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)) {
index ad9a9ab..3c39191 100644 (file)
@@ -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);
 }