summaryrefslogtreecommitdiffstats
path: root/examples/dynparams
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dynparams')
-rw-r--r--examples/dynparams/filter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/dynparams/filter.c b/examples/dynparams/filter.c
index 7554101f..55b92de9 100644
--- a/examples/dynparams/filter.c
+++ b/examples/dynparams/filter.c
@@ -266,6 +266,7 @@ cb_play_clicked (GtkButton *button, gpointer *user_data)
{
_filter_data_t *fd = (_filter_data_t *) user_data;
+ g_return_if_fail (GST_IS_PIPELINE (fd->pipeline));
if (GST_STATE (fd->pipeline) == GST_STATE_PLAYING)
{
ui_feedback_add (fd->ui, "Pipeline is already playing !\n");