mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
gst/playback/gststreamselector.c: Don't unref a NULL pad.
Original commit message from CVS: * gst/playback/gststreamselector.c: (gst_stream_selector_dispose): Don't unref a NULL pad.
This commit is contained in:
parent
099f2f0ef7
commit
69c8c3adc0
2 changed files with 10 additions and 2 deletions
|
@ -1,4 +1,9 @@
|
|||
2006-11-09 Christian F.K. Schaller <set EMAIL_ADDRESS environment variable>
|
||||
2006-11-09 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/playback/gststreamselector.c: (gst_stream_selector_dispose):
|
||||
Don't unref a NULL pad.
|
||||
|
||||
2006-11-09 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_page),
|
||||
(gst_ogg_demux_get_prev_page), (gst_ogg_demux_perform_seek),
|
||||
|
|
|
@ -167,7 +167,10 @@ gst_stream_selector_dispose (GObject * object)
|
|||
{
|
||||
GstStreamSelector *sel = GST_STREAM_SELECTOR (object);
|
||||
|
||||
gst_object_unref (sel->active_sinkpad);
|
||||
if (sel->active_sinkpad) {
|
||||
gst_object_unref (sel->active_sinkpad);
|
||||
sel->active_sinkpad = NULL;
|
||||
}
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->dispose (object);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue