Move encoders and muxers to GST_RANK_SECONDARY.
authorEdward Hervey <bilboed@bilboed.com>
Wed, 18 Nov 2009 16:36:48 +0000 (17:36 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 18 Nov 2009 16:36:48 +0000 (17:36 +0100)
ext/ffmpeg/gstffmpegenc.c
ext/ffmpeg/gstffmpegmux.c

index 470aec62e361cf440d540c9c1f4a08480603b64f..d9ceb49ec51a933a4084cd498881b08d49476b97 100644 (file)
@@ -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;
     }
index 6eb4ae0f7d8efa3cdc890ab92306e55a740bb937..b0544af2228963e3ae810e2c5aa94d15ded706fc 100644 (file)
@@ -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;
     }