mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
oggdemux: Don't double-unlock
The previous branch will release the lock in the call to gst_ogg_demux_seek_back_after_push_duration_check_unlock() Only unlock it if we didn't call that function
This commit is contained in:
parent
c86df789ed
commit
9f678bb27f
1 changed files with 2 additions and 2 deletions
|
@ -2475,7 +2475,7 @@ gst_ogg_demux_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
||||||
res);
|
res);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
} else
|
||||||
GST_PUSH_UNLOCK (ogg);
|
GST_PUSH_UNLOCK (ogg);
|
||||||
res = gst_ogg_demux_send_event (ogg, event);
|
res = gst_ogg_demux_send_event (ogg, event);
|
||||||
if (ogg->current_chain == NULL) {
|
if (ogg->current_chain == NULL) {
|
||||||
|
|
Loading…
Reference in a new issue