[Bug 786049] New: curlhttpsrc: http-version property is not present if curl does not have HTTP2 feature present

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Aug 9 13:39:50 UTC 2017


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

            Bug ID: 786049
           Summary: curlhttpsrc: http-version property is not present if
                    curl does not have HTTP2 feature present
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: bugzilla at ashley-family.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

The gst_curl_http_src_class_init() function in the curlhttpsrc element tries to
work out the maximum supported HTTP version when adding the "http-version"
property.

However, if the version of the curl library is recent enough to allow support
for HTTP2 (i.e. CURL_VERSION_HTTP2 is defined) but does not actually have that
feature enabled, the call to g_object_class_install_property() uses an invalid
default value when trying to add the "http-version" property. It tries to use
minimum=1.0, maximum=1.1, default=2.0. This causes a validation check to fail
and for the property to not be added to the element.

-- 
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