[gst-cvs] gst-plugins-base: Add ranks to the Oggmuxer, Vorbis encoder and Theora encoder

Christian Fredrik Kalager Schaller uraeus at kemper.freedesktop.org
Tue May 12 04:13:19 PDT 2009


Module: gst-plugins-base
Branch: master
Commit: 705e7750c5deef88e3359c0f26ada8a6019341ca
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=705e7750c5deef88e3359c0f26ada8a6019341ca

Author: Christian Schaller <christian.schaller at collabora.co.uk>
Date:   Tue May 12 12:17:55 2009 +0100

Add ranks to the Oggmuxer, Vorbis encoder and Theora encoder

---

 ext/ogg/gstoggmux.c |    2 +-
 ext/theora/theora.c |    2 +-
 ext/vorbis/vorbis.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c
index 47ef0cc..ee9f5cb 100644
--- a/ext/ogg/gstoggmux.c
+++ b/ext/ogg/gstoggmux.c
@@ -1676,6 +1676,6 @@ gst_ogg_mux_plugin_init (GstPlugin * plugin)
 {
   GST_DEBUG_CATEGORY_INIT (gst_ogg_mux_debug, "oggmux", 0, "ogg muxer");
 
-  return gst_element_register (plugin, "oggmux", GST_RANK_NONE,
+  return gst_element_register (plugin, "oggmux", GST_RANK_PRIMARY,
       GST_TYPE_OGG_MUX);
 }
diff --git a/ext/theora/theora.c b/ext/theora/theora.c
index 75c6652..37f3211 100644
--- a/ext/theora/theora.c
+++ b/ext/theora/theora.c
@@ -34,7 +34,7 @@ plugin_init (GstPlugin * plugin)
           gst_theora_dec_get_type ()))
     return FALSE;
 
-  if (!gst_element_register (plugin, "theoraenc", GST_RANK_NONE,
+  if (!gst_element_register (plugin, "theoraenc", GST_RANK_PRIMARY,
           gst_theora_enc_get_type ()))
     return FALSE;
 
diff --git a/ext/vorbis/vorbis.c b/ext/vorbis/vorbis.c
index 8a337a6..f710aaa 100644
--- a/ext/vorbis/vorbis.c
+++ b/ext/vorbis/vorbis.c
@@ -36,7 +36,7 @@ GST_DEBUG_CATEGORY (vorbistag_debug);
 static gboolean
 plugin_init (GstPlugin * plugin)
 {
-  if (!gst_element_register (plugin, "vorbisenc", GST_RANK_NONE,
+  if (!gst_element_register (plugin, "vorbisenc", GST_RANK_PRIMARY,
           GST_TYPE_VORBISENC))
     return FALSE;
 





More information about the Gstreamer-commits mailing list