ges: pipeline: Add missing API guard

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7882>
This commit is contained in:
Thibault Saunier 2024-11-13 18:19:50 -03:00 committed by GStreamer Marge Bot
parent c00429a917
commit f4f473650f

View file

@ -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;
}