mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-27 09:38:17 +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");
|
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (!gst_element_register (plugin, "flacenc", GST_RANK_NONE,
|
if (!gst_element_register (plugin, "flacenc", GST_RANK_PRIMARY,
|
||||||
GST_TYPE_FLAC_ENC))
|
GST_TYPE_FLAC_ENC))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
if (!gst_element_register (plugin, "flacdec", GST_RANK_PRIMARY,
|
if (!gst_element_register (plugin, "flacdec", GST_RANK_PRIMARY,
|
||||||
|
|
|
@ -33,7 +33,7 @@ static gboolean
|
||||||
plugin_init (GstPlugin * plugin)
|
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))
|
GST_TYPE_JPEGENC))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,8 @@ plugin_init (GstPlugin * plugin)
|
||||||
GST_TYPE_PNGDEC))
|
GST_TYPE_PNGDEC))
|
||||||
return FALSE;
|
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 FALSE;
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
|
@ -29,7 +29,7 @@ static gboolean
|
||||||
plugin_init (GstPlugin * plugin)
|
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))
|
GST_TYPE_SPEEX_ENC))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ plugin_init (GstPlugin * plugin)
|
||||||
|
|
||||||
if (!gst_element_register (plugin, "avidemux", GST_RANK_PRIMARY,
|
if (!gst_element_register (plugin, "avidemux", GST_RANK_PRIMARY,
|
||||||
GST_TYPE_AVI_DEMUX) ||
|
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_TYPE_AVI_MUX) ||
|
||||||
!gst_element_register (plugin, "avisubtitle", GST_RANK_PRIMARY,
|
!gst_element_register (plugin, "avisubtitle", GST_RANK_PRIMARY,
|
||||||
GST_TYPE_AVI_SUBTITLE)) {
|
GST_TYPE_AVI_SUBTITLE)) {
|
||||||
|
|
|
@ -2584,5 +2584,5 @@ gboolean
|
||||||
gst_matroska_mux_plugin_init (GstPlugin * plugin)
|
gst_matroska_mux_plugin_init (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
return gst_element_register (plugin, "matroskamux",
|
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