mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
ges: pipeline: Add missing API guard
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7882>
This commit is contained in:
parent
c00429a917
commit
f4f473650f
1 changed files with 2 additions and 0 deletions
|
@ -1175,6 +1175,8 @@ ges_pipeline_set_render_settings (GESPipeline * pipeline,
|
|||
GESPipelineFlags
|
||||
ges_pipeline_get_mode (GESPipeline * pipeline)
|
||||
{
|
||||
g_return_val_if_fail (GES_IS_PIPELINE (pipeline), GES_PIPELINE_MODE_PREVIEW);
|
||||
|
||||
return pipeline->priv->mode;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue