[Bug 705694] dataqueue: add gst_data_queue_push_force

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Aug 13 05:01:40 PDT 2013


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

--- Comment #3 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2013-08-13 12:01:38 UTC ---
(In reply to comment #2)
> Review of attachment 251205 [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.

> 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()'?

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