summaryrefslogtreecommitdiff
path: root/gst/gst.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2005-05-29 13:57:00 +0000
committerBenjamin Otte <otte@gnome.org>2005-05-29 13:57:00 +0000
commitc50aa69137dec1ecd95c82302081aea9d2fab39c (patch)
tree35e187ffbd065bf6a8dd9e1c03b3387d98a164e9 /gst/gst.c
parent27c43157156a24237285130f2d80fca41447c760 (diff)
downloadgstreamer-BRANCH-COMPANY.tar.gz
add actions. see ChangeLog for detailsBRANCH-COMPANY
Original commit message from CVS: add actions. see ChangeLog for details
Diffstat (limited to 'gst/gst.c')
-rw-r--r--gst/gst.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gst/gst.c b/gst/gst.c
index f3db38b4b3..4bec18c77b 100644
--- a/gst/gst.c
+++ b/gst/gst.c
@@ -450,11 +450,8 @@ init_pre (void)
{
g_type_init ();
- if (g_thread_supported ()) {
- /* somebody already initialized threading */
- } else {
+ if (!g_thread_supported ())
g_thread_init (NULL);
- }
/* we need threading to be enabled right here */
_gst_debug_init ();
@@ -526,8 +523,6 @@ gst_register_core_elements (GstPlugin * plugin)
GST_TYPE_BIN) ||
!gst_element_register (plugin, "pipeline", GST_RANK_PRIMARY,
GST_TYPE_PIPELINE) ||
- !gst_element_register (plugin, "thread", GST_RANK_PRIMARY,
- GST_TYPE_THREAD) ||
!gst_element_register (plugin, "queue", GST_RANK_NONE, GST_TYPE_QUEUE))
g_assert_not_reached ();