diff --git a/subprojects/gst-editing-services/ges/ges-pipeline.c b/subprojects/gst-editing-services/ges/ges-pipeline.c index 38a823880c..690408e7bc 100644 --- a/subprojects/gst-editing-services/ges/ges-pipeline.c +++ b/subprojects/gst-editing-services/ges/ges-pipeline.c @@ -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; }