mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
plugin: Fix is-ges-timeline
registration
We need to register it for all subclasses. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/227>
This commit is contained in:
parent
74460ec221
commit
410fd67045
2 changed files with 5 additions and 4 deletions
|
@ -113,6 +113,9 @@ ges_base_bin_class_init (GESBaseBinClass * self_class)
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_INIT (gesbasebin, "gesbasebin", 0, "ges bin element");
|
GST_DEBUG_CATEGORY_INIT (gesbasebin, "gesbasebin", 0, "ges bin element");
|
||||||
|
|
||||||
|
gst_tag_register ("is-ges-timeline", GST_TAG_FLAG_META, G_TYPE_BOOLEAN,
|
||||||
|
"is-ges-timeline", "The stream is a ges timeline.", NULL);
|
||||||
|
|
||||||
gclass->get_property = ges_base_bin_get_property;
|
gclass->get_property = ges_base_bin_get_property;
|
||||||
gclass->set_property = ges_base_bin_set_property;
|
gclass->set_property = ges_base_bin_set_property;
|
||||||
gclass->dispose = ges_base_bin_dispose;
|
gclass->dispose = ges_base_bin_dispose;
|
||||||
|
@ -144,6 +147,8 @@ ges_base_bin_init (GESBaseBin * self)
|
||||||
{
|
{
|
||||||
GESBaseBinPrivate *priv = ges_base_bin_get_instance_private (self);
|
GESBaseBinPrivate *priv = ges_base_bin_get_instance_private (self);
|
||||||
|
|
||||||
|
ges_init ();
|
||||||
|
|
||||||
priv->flow_combiner = gst_flow_combiner_new ();
|
priv->flow_combiner = gst_flow_combiner_new ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -204,8 +204,6 @@ ges_demux_class_init (GESDemuxClass * self_class)
|
||||||
|
|
||||||
sinkpad_caps = ges_demux_get_sinkpad_caps ();
|
sinkpad_caps = ges_demux_get_sinkpad_caps ();
|
||||||
|
|
||||||
gst_tag_register ("is-ges-timeline", GST_TAG_FLAG_META, G_TYPE_BOOLEAN,
|
|
||||||
"is-ges-timeline", "The stream is a ges timeline.", NULL);
|
|
||||||
gclass->get_property = ges_demux_get_property;
|
gclass->get_property = ges_demux_get_property;
|
||||||
gclass->set_property = ges_demux_set_property;
|
gclass->set_property = ges_demux_set_property;
|
||||||
|
|
||||||
|
@ -607,8 +605,6 @@ ges_demux_sink_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
|
||||||
static void
|
static void
|
||||||
ges_demux_init (GESDemux * self)
|
ges_demux_init (GESDemux * self)
|
||||||
{
|
{
|
||||||
ges_init ();
|
|
||||||
|
|
||||||
SUPRESS_UNUSED_WARNING (GES_DEMUX);
|
SUPRESS_UNUSED_WARNING (GES_DEMUX);
|
||||||
SUPRESS_UNUSED_WARNING (GES_IS_DEMUX);
|
SUPRESS_UNUSED_WARNING (GES_IS_DEMUX);
|
||||||
#if defined(g_autoptr)
|
#if defined(g_autoptr)
|
||||||
|
|
Loading…
Reference in a new issue