[Bug 701015] Using a g_thread for gnonlin pipeline update / forward eos on the streaming thread.
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sun May 26 01:10:49 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=701015
GStreamer | gnonlin | git
Sebastian Dröge <slomo> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
CC| |slomo at circular-chaos.org
Ever Confirmed|0 |1
--- Comment #3 from Sebastian Dröge <slomo at circular-chaos.org> 2013-05-26 08:10:45 UTC ---
The alternative would be to only start the thread when it is needed and shut it
down afterwards. Starting threads is nowadays very fast, so shouldn't cause
much overhead. Starting/stopping the thread in NULL<->READY sounds ok, but
actually READY<->PAUSED should be sufficient here too (there's no dataflow in
READY, and this thread is only used when dataflow is happening).
Using a GstTask here would probably simplify code a bit, as it has functions to
start/stop/pause the thread which you otherwise have to implement yourself. Not
exactly rocket science, but still nice to not worry about 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