Return the result of the parent state change call
authorJan Schmidt <thaytan@mad.scientist.com>
Mon, 10 May 2004 12:19:02 +0000 (12:19 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Mon, 10 May 2004 12:19:02 +0000 (12:19 +0000)
Original commit message from CVS:
Return the result of the parent state change call

ChangeLog
ext/dv/gstdvdec.c

index eaeb7eb..371d60d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-10  Jan Schmidt  <thaytan@mad.scientist.com>
+
+       * ext/dv/gstdvdec.c: (gst_dvdec_change_state):
+       Return the result of the parent state change call
+
 2004-05-10  Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
 
        * gst/law/alaw.c : alawdec should be registered with type ALAWDEC, not ALAWENC
index 2ce3a47..ee743eb 100644 (file)
@@ -950,9 +950,7 @@ gst_dvdec_change_state (GstElement * element)
       break;
   }
 
-  parent_class->change_state (element);
-
-  return GST_STATE_SUCCESS;
+  return parent_class->change_state (element);
 }
 
 /* Arguments are part of the Gtk+ object system, and these functions