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:
Edward Hervey 2017-11-08 17:08:49 +01:00 committed by Edward Hervey
parent c86df789ed
commit 9f678bb27f

View file

@ -2475,8 +2475,8 @@ gst_ogg_demux_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
res);
}
break;
}
GST_PUSH_UNLOCK (ogg);
} else
GST_PUSH_UNLOCK (ogg);
res = gst_ogg_demux_send_event (ogg, event);
if (ogg->current_chain == NULL) {
GST_WARNING_OBJECT (ogg,