diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2014-02-13 09:39:04 +0100 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2014-02-26 11:31:49 +0100 |
commit | c10d042a0d56f1548ea71718a84923ab6d1fef28 (patch) | |
tree | 008ab44b46087f53caebe2e9a49b08d2662a206e /gst | |
parent | e15eb270f92d68a842fc814084a6d62f7e795eca (diff) |
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.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/xingmux/gstxingmux.c | 2 | ||||
-rw-r--r-- | gst/xingmux/plugin.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/xingmux/gstxingmux.c b/gst/xingmux/gstxingmux.c index dacd1ec3..fd09ac07 100644 --- a/gst/xingmux/gstxingmux.c +++ b/gst/xingmux/gstxingmux.c @@ -418,7 +418,7 @@ gst_xing_mux_class_init (GstXingMuxClass * klass) GST_DEBUG_CATEGORY_INIT (xing_mux_debug, "xingmux", 0, "Xing Header 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", "Christophe Fergeau <teuf@gnome.org>"); } diff --git a/gst/xingmux/plugin.c b/gst/xingmux/plugin.c index 7cfaf583..470a24ef 100644 --- a/gst/xingmux/plugin.c +++ b/gst/xingmux/plugin.c @@ -27,7 +27,7 @@ static gboolean 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)) return FALSE; |