[gstreamer-bugs] [Bug 623121] [queue2] downloaded areas of the media are not exposed

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Sep 1 01:59:13 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=623121
  GStreamer | gstreamer (core) | git

--- Comment #17 from Philippe Normand <phil at base-art.net> 2010-09-01 08:59:08 UTC ---
(In reply to comment #16)
> Right, then I'd remove "byte" and add a format argument:
> 
> void gst_query_add_buffering_range (query, format, start, stop);
> 
> gboolean gst_query_get_buffering_range (query, format, n, &start, &stop);
> 

Now that I thought more about it, it feels weird to have format there. It's
ambiguous because there's already a format member in the query structure. So
what about this?

void gst_query_add_buffering_range (query, start, stop);

gboolean gst_query_get_buffering_range (query, n, &start, &stop);

Sebastian also asked for:

gint gst_query_get_n_buffering_ranges (query);

And add_buffering_range should also ensure the internal array of ranges is
correctly sorted by start positions.

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