mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
oggdemux: Unref peer pad after use in error case
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734350
This commit is contained in:
parent
8fc307fae0
commit
1da3df79cf
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue