summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-11-18 17:36:48 +0100
committerEdward Hervey <bilboed@bilboed.com>2009-11-18 17:36:48 +0100
commita00fb254aa1b5a2e1bce6bb304cfb2b35b98065e (patch)
tree7682cd775797e4d5389a7a22cc9a43e1b2989406
parent59bc425174bc46b29b2af7fffe4d932feb14b3b8 (diff)
Move encoders and muxers to GST_RANK_SECONDARY.
-rw-r--r--ext/ffmpeg/gstffmpegenc.c2
-rw-r--r--ext/ffmpeg/gstffmpegmux.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/ffmpeg/gstffmpegenc.c b/ext/ffmpeg/gstffmpegenc.c
index 470aec6..d9ceb49 100644
--- a/ext/ffmpeg/gstffmpegenc.c
+++ b/ext/ffmpeg/gstffmpegenc.c
@@ -1237,7 +1237,7 @@ gst_ffmpegenc_register (GstPlugin * plugin)
}
}
- if (!gst_element_register (plugin, type_name, GST_RANK_NONE, type)) {
+ if (!gst_element_register (plugin, type_name, GST_RANK_SECONDARY, type)) {
g_free (type_name);
return FALSE;
}
diff --git a/ext/ffmpeg/gstffmpegmux.c b/ext/ffmpeg/gstffmpegmux.c
index 6eb4ae0..b0544af 100644
--- a/ext/ffmpeg/gstffmpegmux.c
+++ b/ext/ffmpeg/gstffmpegmux.c
@@ -859,7 +859,7 @@ gst_ffmpegmux_register (GstPlugin * plugin)
g_type_add_interface_static (type, GST_TYPE_TAG_SETTER, &tag_setter_info);
}
- if (!gst_element_register (plugin, type_name, GST_RANK_NONE, type)) {
+ if (!gst_element_register (plugin, type_name, GST_RANK_MARGINAL, type)) {
g_free (type_name);
return FALSE;
}