diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2014-08-06 13:22:56 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-08-06 13:48:42 +0200 |
commit | 1da3df79cfed5292299efa93f36c7a9c919af527 (patch) | |
tree | 3bfb454ddf99b2a9334ea1fa965c84a76e586be6 /ext/ogg/gstoggdemux.c | |
parent | 8fc307fae073631c4f6055b1bd2923aefec9e0f8 (diff) | |
download | gstreamer-plugins-base-1da3df79cfed5292299efa93f36c7a9c919af527.tar.gz |
oggdemux: Unref peer pad after use in error case
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734350
Diffstat (limited to 'ext/ogg/gstoggdemux.c')
-rw-r--r-- | ext/ogg/gstoggdemux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index 1ea27a179..b96ef32fd 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -3435,6 +3435,7 @@ gst_ogg_demux_check_duration_push (GstOggDemux * ogg, GstSeekFlags flags, } else { GST_DEBUG_OBJECT (ogg, "File byte length unknown, assuming live"); ogg->push_disable_seeking = TRUE; + gst_object_unref (peer); return TRUE; } res = gst_pad_query_duration (peer, GST_FORMAT_TIME, &length); |