paranoid
authorThomas Vander Stichele <thomas@apestaart.org>
Sat, 18 Jan 2003 18:17:52 +0000 (18:17 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sat, 18 Jan 2003 18:17:52 +0000 (18:17 +0000)
Original commit message from CVS:
paranoid

examples/dynparams/filter.c

index 7554101..55b92de 100644 (file)
@@ -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");