mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
xingmux: add muxer category and make element plugable
This is required to make encodebin consider the element. Yet it is not enough to have it plugged it has a lower priority than most mp3encoders and no different caps.
This commit is contained in:
parent
e15eb270f9
commit
c10d042a0d
2 changed files with 2 additions and 2 deletions
|
@ -418,7 +418,7 @@ gst_xing_mux_class_init (GstXingMuxClass * klass)
|
||||||
GST_DEBUG_CATEGORY_INIT (xing_mux_debug, "xingmux", 0, "Xing Header Muxer");
|
GST_DEBUG_CATEGORY_INIT (xing_mux_debug, "xingmux", 0, "Xing Header Muxer");
|
||||||
|
|
||||||
gst_element_class_set_static_metadata (gstelement_class, "MP3 Xing muxer",
|
gst_element_class_set_static_metadata (gstelement_class, "MP3 Xing muxer",
|
||||||
"Formatter/Metadata",
|
"Formatter/Muxer/Metadata",
|
||||||
"Adds a Xing header to the beginning of a VBR MP3 file",
|
"Adds a Xing header to the beginning of a VBR MP3 file",
|
||||||
"Christophe Fergeau <teuf@gnome.org>");
|
"Christophe Fergeau <teuf@gnome.org>");
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
static gboolean
|
static gboolean
|
||||||
plugin_init (GstPlugin * plugin)
|
plugin_init (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
if (!gst_element_register (plugin, "xingmux", GST_RANK_NONE,
|
if (!gst_element_register (plugin, "xingmux", GST_RANK_MARGINAL,
|
||||||
GST_TYPE_XING_MUX))
|
GST_TYPE_XING_MUX))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue