From bdf1698f35b8ba69837451c937db9fadc4428081 Mon Sep 17 00:00:00 2001 From: Christian Schaller Date: Thu, 7 May 2009 18:10:08 +0100 Subject: Add RANKS for various encoders and muxers --- ext/flac/gstflac.c | 2 +- ext/jpeg/gstjpeg.c | 2 +- ext/libpng/gstpng.c | 3 ++- ext/speex/gstspeex.c | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) (limited to 'ext') diff --git a/ext/flac/gstflac.c b/ext/flac/gstflac.c index a198279f..95861e3c 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 ddb10152..73134343 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 d02bf0d2..6a91915d 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 899cfecb..3cd7cbfc 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; -- cgit