[gstreamer-bugs] [Bug 593284] basertppayloader takes time in instance init

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Sep 1 01:42:30 PDT 2009


http://bugzilla.gnome.org/show_bug.cgi?id=593284


Sebastian Dröge <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.25


--- Comment #11 from Sebastian Dröge <slomo at circular-chaos.org> 2009-09-01 08:42:27 UTC ---
commit ec91d508af9fb359ebab7240497bd043d84d652e
Author: Jonas Holmberg <jonas.holmberg at axis.com>
Date:   Tue Sep 1 10:39:52 2009 +0200

    basertppayload: Make instance init faster by not reading /dev/urandom 3
time

    ... which is the default seed when creating a new GRand. Because
    GLib in older versions used buffered IO this would take a lot of time.

    Instead use the global GRand for getting random numbers and keep the
    three instance GRand for backward compatibility with a simple seed.

    Fixes bug #593284.

-- 
Configure bugmail: http://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