mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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:
parent
d3a10942e0
commit
90106b6bf2
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue