From: <th...@fr...> - 2005-01-16 11:08:01
|
CVS Root: /cvs/gstreamer Module: gst-plugins Changes by: thaytan Date: Sun Jan 16 2005 03:07:57 PST Log message: Don't return SUCCESS from the state change when the parent call fails Modified files: . : ChangeLog ext/swfdec : gstswfdec.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/ChangeLog.diff?r1=1.1523&r2=1.1524 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/ext/swfdec/gstswfdec.c.diff?r1=1.32&r2=1.33 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-plugins/ChangeLog,v retrieving revision 1.1523 retrieving revision 1.1524 diff -u -d -r1.1523 -r1.1524 --- ChangeLog 16 Jan 2005 10:08:12 -0000 1.1523 +++ ChangeLog 16 Jan 2005 11:07:45 -0000 1.1524 @@ -1,3 +1,9 @@ +2005-01-16 Jan Schmidt <th...@ma...> + + * ext/swfdec/gstswfdec.c: (gst_swfdec_change_state): + Don't return state change success when the parent + failed. 2005-01-16 Ronald S. Bultje <rb...@ro...> * gst/avi/gstavimux.c: (gst_avimux_handle_event): Index: gstswfdec.c RCS file: /cvs/gstreamer/gst-plugins/ext/swfdec/gstswfdec.c,v retrieving revision 1.32 retrieving revision 1.33 diff -u -d -r1.32 -r1.33 --- gstswfdec.c 9 Nov 2004 06:08:22 -0000 1.32 +++ gstswfdec.c 16 Jan 2005 11:07:45 -0000 1.33 @@ -561,9 +561,7 @@ break; } - GST_ELEMENT_CLASS (parent_class)->change_state (element); - - return GST_STATE_SUCCESS; + return GST_ELEMENT_CLASS (parent_class)->change_state (element); } static void |