mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
timeline-pipeline: Enhance API guards
This commit is contained in:
parent
40376f9219
commit
8b1039a87a
1 changed files with 2 additions and 1 deletions
|
@ -749,8 +749,9 @@ gboolean
|
||||||
ges_timeline_pipeline_add_timeline (GESTimelinePipeline * pipeline,
|
ges_timeline_pipeline_add_timeline (GESTimelinePipeline * pipeline,
|
||||||
GESTimeline * timeline)
|
GESTimeline * timeline)
|
||||||
{
|
{
|
||||||
|
g_return_val_if_fail (GES_IS_TIMELINE_PIPELINE (pipeline), FALSE);
|
||||||
|
g_return_val_if_fail (GES_IS_TIMELINE (timeline), FALSE);
|
||||||
g_return_val_if_fail (pipeline->priv->timeline == NULL, FALSE);
|
g_return_val_if_fail (pipeline->priv->timeline == NULL, FALSE);
|
||||||
g_return_val_if_fail (timeline != NULL, FALSE);
|
|
||||||
|
|
||||||
GST_DEBUG ("pipeline:%p, timeline:%p", timeline, pipeline);
|
GST_DEBUG ("pipeline:%p, timeline:%p", timeline, pipeline);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue