[gstreamer-bugs] [Bug 549504] Thread-safe version of gst_pad_get_internal_links()

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Sep 1 03:43:46 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=549504

  GStreamer | gstreamer (core) | Ver: HEAD CVS

Wim Taymans changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #117546|0                           |1
        is obsolete|                            |
 Attachment #117611|none                        |committed
               Flag|                            |




------- Comment #6 from Wim Taymans  2008-09-01 10:43 UTC -------
I slightly changed the _iterate_internal_links_default() function so that it
does not keep a pad-local GList. Also added some comments.

        Based on patch by: Olivier Crete <tester at tester dot ca>

        * docs/gst/gstreamer-sections.txt:
        * win32/common/libgstreamer.def:
        * gst/gstpad.c: (gst_pad_init),
        (gst_pad_set_iterate_internal_links_function),
        (int_link_iter_data_free), (iterate_pad),
        (gst_pad_iterate_internal_links_default),
        (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
        * gst/gstpad.h:
        Add threadsafe replacement functions for getting internal links of an
        element. Deprecate the old internal links functions.
        API:GstPad::gst_pad_set_iterate_internal_links_function()
        API:GstPad::GstPadIterIntLinkFunction
        API:GstPad::gst_pad_iterate_internal_links()
        API:GstPad::gst_pad_iterate_internal_links_default()

        * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
        (gst_proxy_pad_init):
        Implement threadsafe internal links.

        * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
        Unit test for internal links on tee. See #549504.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=549504.




More information about the Gstreamer-bugs mailing list