Commit 69c8c3ad authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

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.
parent 099f2f0e
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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment