mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
gst/playback/gststreaminfo.c: Elements may already be destroyed when this function is called.
Original commit message from CVS: * gst/playback/gststreaminfo.c: (gst_stream_info_dispose): Elements may already be destroyed when this function is called.
This commit is contained in:
parent
dd692c12da
commit
1df4d5f66e
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-01-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst/playback/gststreaminfo.c: (gst_stream_info_dispose):
|
||||
Elements may already be destroyed when this function is called.
|
||||
|
||||
2005-01-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state),
|
||||
|
|
|
@ -191,7 +191,8 @@ gst_stream_info_dispose (GObject * object)
|
|||
stream_info = GST_STREAM_INFO (object);
|
||||
|
||||
if (stream_info->object) {
|
||||
if (GST_PAD_REALIZE (stream_info->object)) {
|
||||
if (GST_PAD_REALIZE (stream_info->object) && gst_pad_get_parent ((GstPad *)
|
||||
GST_PAD_REALIZE (stream_info->object))) {
|
||||
g_signal_handlers_disconnect_by_func (gst_pad_get_parent ((GstPad *)
|
||||
GST_PAD_REALIZE (stream_info->object)),
|
||||
G_CALLBACK (stream_info_change_state), stream_info);
|
||||
|
|
Loading…
Reference in a new issue