[Bug 758384] dashdemux: tests: refactor into adaptive_engine components

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Dec 10 06:28:27 PST 2015


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

--- Comment #27 from Florin Apostol <florin.apostol at oregan.net> ---
(In reply to A Ashley from comment #26)
> 
> Actually the input data cannot be const, because the user_data parameter to
> the  gst_test_http_src_install_callbacks function is not const. In the case
> of some of the hlsdemux tests, the contents of the user_data is modified by
> the tests.

That logic is not correct. Even if user_data is not const, input data can be
const. user_data is a pointer to a structure GstDashDemuxTestCase. One of the
structure members is pointer to const (const GstDashDemuxTestInputData
*input;). That member can be initialized with another pointer to const (the
input data).

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