- return result of parent state change too
authorWim Taymans <wim.taymans@gmail.com>
Sat, 24 May 2003 10:18:38 +0000 (10:18 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sat, 24 May 2003 10:18:38 +0000 (10:18 +0000)
Original commit message from CVS:
- return result of parent state change too

gst/videotestsrc/gstvideotestsrc.c

index 5e13703..6dd7908 100644 (file)
@@ -227,9 +227,7 @@ gst_videotestsrc_change_state (GstElement * element)
       break;
   }
 
-  parent_class->change_state (element);
-
-  return GST_STATE_SUCCESS;
+  return parent_class->change_state (element);
 }
 
 static GstCaps *