diff options
author | Christian Schaller <christian.schaller@collabora.co.uk> | 2009-05-07 18:10:08 +0100 |
---|---|---|
committer | Christian Schaller <christian.schaller@collabora.co.uk> | 2009-05-07 18:10:08 +0100 |
commit | bdf1698f35b8ba69837451c937db9fadc4428081 (patch) | |
tree | 6c4e9af37a688938d23a331012c5b079ef211352 /ext | |
parent | bdbdb41e938f5091884eee33f1826db50fb0a0ed (diff) |
Add RANKS for various encoders and muxers
Diffstat (limited to 'ext')
-rw-r--r-- | ext/flac/gstflac.c | 2 | ||||
-rw-r--r-- | ext/jpeg/gstjpeg.c | 2 | ||||
-rw-r--r-- | ext/libpng/gstpng.c | 3 | ||||
-rw-r--r-- | ext/speex/gstspeex.c | 2 |
4 files changed, 5 insertions, 4 deletions
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; |