[gstreamer-bugs] [Bug 623121] [queue2] downloaded areas of the media are not exposed
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Aug 17 03:10:24 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=623121
GStreamer | gstreamer (core) | git
--- Comment #4 from Philippe Normand <phil at base-art.net> 2010-08-17 10:10:20 UTC ---
Would this API be acceptable?
/**
* gst_query_set_buffering_ranges:
* @query: a GST_QUERY_BUFFERING type query #GstQuery
* @ranges: array of media buffered ranges.
*
* Set the buffering-ranges result field in @query. The @ranges array
* should contain #gint64 items. Odd indexes store start positions and
* even indexes store stop range positions.
*
* Since: 0.10.31
*/
void
gst_query_set_buffering_ranges (GstQuery * query, GValue* ranges);
/**
* gst_query_parse_buffering_ranges:
* @query: a GST_QUERY_BUFFERING type query #GstQuery
*
* Parse an available query and get the buffered ranges array. It
* should contain #gint64 items. Odd indexes store start positions and
* even indexes store stop range positions.
*
* Returns: an array of media buffered ranges.
*
* Since: 0.10.31
*/
const GValue*
gst_query_parse_buffering_ranges (GstQuery * query);
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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