[Bug 749090] hlsdemux: set uri handler blocksize to reduce CPU usage

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Oct 16 03:38:08 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=749090

--- Comment #4 from A Ashley <bugzilla at ashley-family.net> ---
Created attachment 313452
  --> https://bugzilla.gnome.org/attachment.cgi?id=313452&action=edit
uridownloader: allow the block size to be specified.

Add a new option "blocksize" (of type guint) that allows the block size to be
specified.

This patch creates a new function gst_uri_downloader_fetch_uri_with_options.

The gst_uri_downloader_fetch_uri_with_options() function uses a GstStructure to
specify options to use for the download. This has the advantage of allowing new
options to be added in the future without having to create a new function
prototype for each option.

This patch is not required to support the use case of adjusting the blocksize
used by hlsdemux (for that see patch 313443). I thought it would be a good idea
to add the feature to uridownloader as well as adaptivedemux.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list