mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
adaptivdemux2: Improve a comment about unlocking download requests.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3883>
This commit is contained in:
parent
a14f4f7054
commit
76565e8979
1 changed files with 2 additions and 1 deletions
|
@ -1326,7 +1326,8 @@ on_download_progress (DownloadRequest * request, DownloadRequestState state,
|
|||
G_GUINT64_FORMAT " bytes", gst_buffer_get_size (buffer),
|
||||
request->content_received, request->content_length);
|
||||
|
||||
/* Drop the request lock when parsing data. FIXME: Check and comment why this is needed */
|
||||
/* Drop the request lock when parsing data. That allows the DownloadHelper to
|
||||
* add more data while we're parsing (if more arrives) */
|
||||
download_request_unlock (request);
|
||||
ret = gst_adaptive_demux2_stream_parse_buffer (stream, buffer);
|
||||
download_request_lock (request);
|
||||
|
|
Loading…
Reference in a new issue