mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
Add ranks to various muxers and encoders in -bad
This commit is contained in:
parent
ab77d5092b
commit
67dd3c11f4
6 changed files with 8 additions and 6 deletions
|
@ -806,7 +806,8 @@ gst_faac_change_state (GstElement * element, GstStateChange transition)
|
|||
static gboolean
|
||||
plugin_init (GstPlugin * plugin)
|
||||
{
|
||||
return gst_element_register (plugin, "faac", GST_RANK_NONE, GST_TYPE_FAAC);
|
||||
return gst_element_register (plugin, "faac", GST_RANK_SECONDARY,
|
||||
GST_TYPE_FAAC);
|
||||
}
|
||||
|
||||
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
||||
|
|
|
@ -717,7 +717,7 @@ plugin_init (GstPlugin * plugin)
|
|||
mjpeg_default_handler_verbosity (0);
|
||||
|
||||
return gst_element_register (plugin, "mpeg2enc",
|
||||
GST_RANK_NONE, GST_TYPE_MPEG2ENC);
|
||||
GST_RANK_SECONDARY, GST_TYPE_MPEG2ENC);
|
||||
}
|
||||
|
||||
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
||||
|
|
|
@ -1303,7 +1303,7 @@ plugin_init (GstPlugin * plugin)
|
|||
"h264 encoding element");
|
||||
|
||||
return gst_element_register (plugin, "x264enc",
|
||||
GST_RANK_NONE, GST_TYPE_X264_ENC);
|
||||
GST_RANK_PRIMARY, GST_TYPE_X264_ENC);
|
||||
}
|
||||
|
||||
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
||||
|
|
|
@ -1311,7 +1311,7 @@ plugin_init (GstPlugin * plugin)
|
|||
|
||||
if (!gst_element_register (plugin, "flvdemux", GST_RANK_PRIMARY,
|
||||
gst_flv_demux_get_type ()) ||
|
||||
!gst_element_register (plugin, "flvmux", GST_RANK_NONE,
|
||||
!gst_element_register (plugin, "flvmux", GST_RANK_PRIMARY,
|
||||
gst_flv_mux_get_type ()))
|
||||
return FALSE;
|
||||
|
||||
|
|
|
@ -71,7 +71,8 @@ plugin_init (GstPlugin * plugin)
|
|||
|
||||
if (!gst_element_register (plugin, "mxfdemux", GST_RANK_PRIMARY,
|
||||
GST_TYPE_MXF_DEMUX) ||
|
||||
!gst_element_register (plugin, "mxfmux", GST_RANK_NONE, GST_TYPE_MXF_MUX))
|
||||
!gst_element_register (plugin, "mxfmux", GST_RANK_PRIMARY,
|
||||
GST_TYPE_MXF_MUX))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
|
|
|
@ -1886,7 +1886,7 @@ gst_qt_mux_register (GstPlugin * plugin)
|
|||
g_type_set_qdata (type, GST_QT_MUX_PARAMS_QDATA, (gpointer) params);
|
||||
g_type_add_interface_static (type, GST_TYPE_TAG_SETTER, &tag_setter_info);
|
||||
|
||||
if (!gst_element_register (plugin, prop->name, GST_RANK_NONE, type))
|
||||
if (!gst_element_register (plugin, prop->name, GST_RANK_PRIMARY, type))
|
||||
return FALSE;
|
||||
|
||||
i++;
|
||||
|
|
Loading…
Reference in a new issue