[Bug 705694] dataqueue: add gst_data_queue_push_force

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Aug 13 06:51:00 PDT 2013


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

--- Comment #4 from Sebastian Dröge (slomo) <slomo at circular-chaos.org> 2013-08-13 13:50:56 UTC ---
(In reply to comment #3)
> (In reply to comment #2)
> > Review of attachment 251205 [details] [details]:
> > 
> > Can't you just make the events "invisible" on the queue then? Apart from that,
> 
> I thought on this, but it would be a behaviour break. The 'visible' attribute
> for items is only used for counting the total of items on the queue. An item
> can be 'invisible' and have a duration and size. I thought on considering the
> item 'force pushable' if all item parameters were 0, meaning it has no size, no
> duration and is invisible. But this would still be a behaviour break and having
> a separate 'push_force()' function seems more explicit about the action.

Makes sense, please push :)

> > a pop_force() would be useful too :)
> I don't get how a 'pop_force()' would work? The dataqueue has no lower limits.
> Maybe you meant 'try_pop()'?

Oh I was just confused :) I needed something like a force_pop() in queue at
some point to be able to pop elements although the queue was flushing.

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