[gstreamer-bugs] [Bug 380495] ClockID objects are useless

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Dec 9 08:39:36 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=380495

  GStreamer | gst-python | Ver: HEAD CVS





------- Comment #6 from René Stadler  2006-12-09 16:38 UTC -------
Created an attachment (id=78033)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=78033&action=view)
Python binding for ClockID objects

Description of changes:

        * gst/common.h:
        Add new PyGstClockID object type structure.
        * gst/gstmodule.c:
        Module setup for new type PyGstClockID_Type.
        * gst/gst.override: (_wrap_gst_clock_new_single_shot_id,
        _wrap_gst_clock_new_periodic_id):
        Add overrides for ClockID factory functions.  These create objects
        of the new type, correctly verify time arguments and do not let
        threads run needlessly.
        * gst/Makefile.am:
        Add new file pygstclockid.c containing the gst.ClockID object type
        implementation.
        * gst/pygstclockid.c: (set_exception_from_clock_return,
        pygst_clock_id_async_callback, pygst_clock_id_compare,
        pygst_clock_id_repr, pygst_clock_id_hash, pygst_clock_id_traverse,
        pygst_clock_id_clear, pygst_clock_id__new__, pygst_clock_id_new,
        pygst_clock_id_dealloc, pygst_clock_id_get_time,
        pygst_clock_id_wait, pygst_clock_id_wait_async,
        pygst_clock_id_unschedule, _PyGstClockID_methods,
        PyGstClockID_Type):
        Implementation of new object type gst.ClockID.
        * pygstexception.c, pygstexception.h: (PyGstExc_ClockError,
        PyGstExc_ClockIDUnscheduled, pygst_exceptions_register_classes):
        Add new exceptions gst.ClockError and gst.ClockIDUnscheduled.
        * testsuite/Makefile.am:
        Add testsuite for SystemClock/ClockID objects.
        * testsuite/test_clock.py (seconds, SystemClockTestBase, .setUp,
        .tearDown, ClockIDTest, .testGetTime, .testClockTimeNone,
        .testWait1, .testWait2, .testWaitAsync, .testInvalidWait,
        .testInvalidWaitAsync, .testAbortWait, .testAbortWaitAsync,
        .testComparison, .testInvalidConstructor, .testRefCycle):
        Testsuite for gst.ClockID objects.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list