oggdemux: Don't forget to reacquire lock when needed

Fixup to ef93130cf0

I overlooked the issue. There is a case when the lock is released
and we need to reacquire it
This commit is contained in:
Edward Hervey 2017-10-26 10:07:15 +02:00 committed by Edward Hervey
parent d3a10942e0
commit 90106b6bf2

View file

@ -4555,6 +4555,8 @@ gst_ogg_demux_handle_page (GstOggDemux * ogg, ogg_page * page, gboolean discont)
GstFlowReturn res;
res = gst_ogg_demux_seek_back_after_push_duration_check_unlock (ogg);
/* Call to function above unlocks, relock */
GST_PUSH_LOCK (ogg);
if (res != GST_FLOW_OK)
return res;
}