diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2015-04-21 18:05:44 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-04-21 18:30:33 +0200 |
commit | 1e1e73a0f2f054a8577e77bff470fb871289794f (patch) | |
tree | 4c961b534491174c54e536b39901e38c09e8edc6 /ext/hls | |
parent | 70193761b865f48811456fc42513404903fc24d6 (diff) | |
download | gstreamer-plugins-bad-1e1e73a0f2f054a8577e77bff470fb871289794f.tar.gz |
hlsdemux: Don't call unlock() just to call lock() immediately afterwards
Diffstat (limited to 'ext/hls')
-rw-r--r-- | ext/hls/gsthlsdemux.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/hls/gsthlsdemux.c b/ext/hls/gsthlsdemux.c index fad5a7bd0..7c52683ab 100644 --- 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; |