From: <rb...@fr...> - 2005-03-20 14:55:09
|
CVS Root: /cvs/gstreamer Module: gst-plugins Changes by: rbultje Date: Sun Mar 20 2005 06:55:07 PST Branch: BRANCH-GSTREAMER-0_8 Log message: * gst/playback/gstplaybasebin.c: (gst_play_base_bin_change_state): Close down thread if opening failed. Fixes crash in #170083. Modified files: . : ChangeLog gst/playback : gstplaybasebin.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/ChangeLog.diff?r1=1.1641.2.45&r2=1.1641.2.46 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/gst/playback/gstplaybasebin.c.diff?r1=1.62.2.2&r2=1.62.2.3 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-plugins/ChangeLog,v retrieving revision 1.1641.2.45 retrieving revision 1.1641.2.46 diff -u -d -r1.1641.2.45 -r1.1641.2.46 --- ChangeLog 20 Mar 2005 13:46:34 -0000 1.1641.2.45 +++ ChangeLog 20 Mar 2005 14:54:54 -0000 1.1641.2.46 @@ -1,5 +1,10 @@ 2005-03-20 Ronald S. Bultje <rb...@ro...> + * gst/playback/gstplaybasebin.c: (gst_play_base_bin_change_state): + Close down thread if opening failed. Fixes crash in #170083. + +2005-03-20 Ronald S. Bultje <rb...@ro...> * ext/cdparanoia/gstcdparanoia.c: (cdparanoia_get), (cdparanoia_event): * ext/cdparanoia/gstcdparanoia.h: Index: gstplaybasebin.c RCS file: /cvs/gstreamer/gst-plugins/gst/playback/gstplaybasebin.c,v retrieving revision 1.62.2.2 retrieving revision 1.62.2.3 diff -u -d -r1.62.2.2 -r1.62.2.3 --- gstplaybasebin.c 18 Mar 2005 10:56:03 -0000 1.62.2.2 +++ gstplaybasebin.c 20 Mar 2005 14:54:55 -0000 1.62.2.3 @@ -1720,6 +1720,7 @@ ("File \"%s\" is not a media file", play_base_bin->uri), (NULL)); } + gst_element_set_state (play_base_bin->thread, GST_STATE_READY); ret = GST_STATE_FAILURE; } else { ret = gst_element_set_state (play_base_bin->thread, GST_STATE_PAUSED); |