projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7019376
)
hlsdemux: Don't call unlock() just to call lock() immediately afterwards
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 21 Apr 2015 16:05:44 +0000
(18:05 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 21 Apr 2015 16:30:33 +0000
(18:30 +0200)
ext/hls/gsthlsdemux.c
patch
|
blob
|
history
diff --git
a/ext/hls/gsthlsdemux.c
b/ext/hls/gsthlsdemux.c
index
fad5a7b
..
7c52683
100644
(file)
--- a/
ext/hls/gsthlsdemux.c
+++ b/
ext/hls/gsthlsdemux.c
@@
-381,14
+381,12
@@
gst_hls_demux_seek (GstAdaptiveDemux * demux, GstEvent * seek)
}
current_pos += file->duration;
}
- GST_M3U8_CLIENT_UNLOCK (hlsdemux->client);
if (walk == NULL) {
GST_DEBUG_OBJECT (demux, "seeking further than track duration");
current_sequence++;
}
- GST_M3U8_CLIENT_LOCK (hlsdemux->client);
GST_DEBUG_OBJECT (demux, "seeking to sequence %u", (guint) current_sequence);
hlsdemux->reset_pts = TRUE;
hlsdemux->client->sequence = current_sequence;