From 705e7750c5deef88e3359c0f26ada8a6019341ca Mon Sep 17 00:00:00 2001 From: Christian Schaller Date: Tue, 12 May 2009 12:17:55 +0100 Subject: [PATCH] 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; -- 2.7.4