[Bug 701015] Using a g_thread for gnonlin pipeline update / forward eos on the streaming thread.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon May 27 00:26:26 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=701015
  GStreamer | gnonlin | git

--- Comment #8 from Sebastian Dröge <slomo at circular-chaos.org> 2013-05-27 07:26:21 UTC ---
(In reply to comment #7)
> Yep true, I used a g_thread partly because I didn't know the API and wanted to
> discover it as well, I'll look at GstTask's API then.

It has a loop for you already (you provide a loop function, not a thread
function), and you can pause/start the task easily with some API. So basically
could have just the EOS handling code in there, start the task whenever there's
an EOS received, and after it is done handling the EOS pause the task.

> For the thread creation, I actually think having it in NULL<->READY is better
> because that way we keep the same thread all over, not really necessary but
> Thibault also thought it was the best place to do that iirc.

Then let's just do that :)

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