mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 17:18:15 +00:00
Add RANKS for various encoders and muxers
This commit is contained in:
parent
bdbdb41e93
commit
bdf1698f35
6 changed files with 7 additions and 6 deletions
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ plugin_init (GstPlugin * plugin)
|
|||
|
||||
if (!gst_element_register (plugin, "avidemux", GST_RANK_PRIMARY,
|
||||
GST_TYPE_AVI_DEMUX) ||
|
||||
!gst_element_register (plugin, "avimux", GST_RANK_NONE,
|
||||
!gst_element_register (plugin, "avimux", GST_RANK_PRIMARY,
|
||||
GST_TYPE_AVI_MUX) ||
|
||||
!gst_element_register (plugin, "avisubtitle", GST_RANK_PRIMARY,
|
||||
GST_TYPE_AVI_SUBTITLE)) {
|
||||
|
|
|
@ -2584,5 +2584,5 @@ gboolean
|
|||
gst_matroska_mux_plugin_init (GstPlugin * plugin)
|
||||
{
|
||||
return gst_element_register (plugin, "matroskamux",
|
||||
GST_RANK_NONE, GST_TYPE_MATROSKA_MUX);
|
||||
GST_RANK_PRIMARY, GST_TYPE_MATROSKA_MUX);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue