mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 08:08:22 +00:00
pipeline: Create it through a factory
Making it possible to use it with GstValidate LD_PRELOAD feature
This commit is contained in:
parent
0d0fc767ee
commit
0daf523dfd
2 changed files with 2 additions and 1 deletions
|
@ -337,7 +337,7 @@ no_encodebin:
|
||||||
GESPipeline *
|
GESPipeline *
|
||||||
ges_pipeline_new (void)
|
ges_pipeline_new (void)
|
||||||
{
|
{
|
||||||
return g_object_new (GES_TYPE_TIMELINE_PIPELINE, NULL);
|
return GES_PIPELINE (gst_element_factory_make ("gespipeline", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
#define TRACK_COMPATIBLE_PROFILE(tracktype, profile) \
|
#define TRACK_COMPATIBLE_PROFILE(tracktype, profile) \
|
||||||
|
|
|
@ -100,6 +100,7 @@ ges_init (void)
|
||||||
|
|
||||||
gst_element_register (NULL, "framepositionner", 0,
|
gst_element_register (NULL, "framepositionner", 0,
|
||||||
GST_TYPE_FRAME_POSITIONNER);
|
GST_TYPE_FRAME_POSITIONNER);
|
||||||
|
gst_element_register (NULL, "gespipeline", 0, GES_TYPE_PIPELINE);
|
||||||
|
|
||||||
/* TODO: user-defined types? */
|
/* TODO: user-defined types? */
|
||||||
ges_initialized = TRUE;
|
ges_initialized = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue