projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c86df78
)
oggdemux: Don't double-unlock
author
Edward Hervey
<edward@centricular.com>
Wed, 8 Nov 2017 16:08:49 +0000
(17:08 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Wed, 8 Nov 2017 16:51:51 +0000
(17:51 +0100)
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
ext/ogg/gstoggdemux.c
patch
|
blob
|
history
diff --git
a/ext/ogg/gstoggdemux.c
b/ext/ogg/gstoggdemux.c
index
51bea7d
..
fc7f644
100644
(file)
--- a/
ext/ogg/gstoggdemux.c
+++ b/
ext/ogg/gstoggdemux.c
@@
-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,