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

common
examples/dynparams/filter.c
tests/old/examples/dynparams/filter.c

diff --git a/common b/common
index 5b6a58f..895baa0 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 5b6a58f419c3d6fdd4abbe9943cd17a4fd2addcc
+Subproject commit 895baa0fa0f829ef752424a31bbb2cf68e63842e
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");
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");