After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 773087 - task: Add set_default_task_pool_type API.
task: Add set_default_task_pool_type API.
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
unspecified
Other All
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-10-17 12:03 UTC by Stian Selnes (stianse)
Modified: 2018-11-03 12:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
task: Add set_default_task_pool_type API. (1.87 KB, patch)
2016-10-17 12:03 UTC, Stian Selnes (stianse)
needs-work Details | Review

Description Stian Selnes (stianse) 2016-10-17 12:03:22 UTC
API to set the default task pool is useful for applications that use
a custom task pool instead of GstTaskPool.
Comment 1 Stian Selnes (stianse) 2016-10-17 12:03:26 UTC
Created attachment 337835 [details] [review]
task: Add set_default_task_pool_type API.
Comment 2 Sebastian Dröge (slomo) 2016-10-20 11:26:04 UTC
Review of attachment 337835 [details] [review]:

::: gst/gsttask.c
@@ +186,3 @@
+
+void
+gst_task_class_set_default_task_pool_type (GType type)

This could use some documentation :) Also saying that it's not a good idea to call this function at any time as it's not thread-safe if I'm not mistaken

You probably want this only before gst_init(), but before gst_init() it's probably also not a good idea to call init_klass_pool() here.
Comment 3 Tim-Philipp Müller 2016-11-11 11:46:58 UTC
Stian?
Comment 4 GStreamer system administrator 2018-11-03 12:37:09 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/195.